[zsh] add urlencode function

legacy
Simon Bruder 2019-06-01 11:00:48 +00:00
parent fe9bde2bff
commit be6c0d6231
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
1 changed files with 4 additions and 0 deletions

View File

@ -148,6 +148,10 @@ function currency() {
)
}
function urlencode() {
python3 -c 'import urllib.parse, sys;print(urllib.parse.quote(sys.stdin.read()))'
}
# Program aliases/env
## Aliases for programs