X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/fae90a2a15dde4a7472a5353857f1497c63e00db..26ffc95f66633e04e63ddce54c6161c5ce80b6b7:/.zsh/func/urlencode diff --git a/.zsh/func/urlencode b/.zsh/func/urlencode deleted file mode 100644 index 5e4564f..0000000 --- a/.zsh/func/urlencode +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/zsh -# -# func/urlencode -# -# encode strings for use with URLs -# -# Copyright © 1994–2017 martin f. krafft -# Released under the terms of the Artistic Licence 2.0 -# -# Source repository: http://git.madduck.net/v/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))}