[zsh] add urlencode function
This commit is contained in:
parent
fe9bde2bff
commit
be6c0d6231
|
@ -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
|
||||
|
|
Reference in a new issue