X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/e7aef48f33e934106d1a50201d9f098f9886d7ec..26ffc95f66633e04e63ddce54c6161c5ce80b6b7:/.zsh/func/urlencode diff --git a/.zsh/func/urlencode b/.zsh/func/urlencode deleted file mode 100755 index ad48f22..0000000 --- a/.zsh/func/urlencode +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/zsh -# -# func/urlencode -# -# encode strings for use with URLs -# -# Copyright © 1994–2008 martin f. krafft -# Released under the terms of the Artistic Licence 2.0 -# -# Source repository: git://git.madduck.net/etc/zsh.git -# -# Based on http://www.michael-prokop.at/computer/config/.zshrc - -setopt localoptions extendedglob -input=( ${(s::)1} ) -print ${(j::)input/(#b)([^A-Za-z0-9_.!~*\'\(\)-])/%$(([##16]#match))}