projects
/
grml-etc-core.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
zshrc: Remove correction-disabled aliases
[grml-etc-core.git]
/
usr_share_grml
/
zsh
/
functions
/
urldecode
1
#f5# RFC 2396 URL encoding in Z-Shell
2
emulate -L zsh
3
4
setopt extendedglob
5
input=( ${(s::)1} )
6
print ${(j::)input/(#b)([^A-Za-z0-9_.!~*\'\(\)-])/%${(l:2::0:)$(([##16]#match))}}