diff --git a/home/.zshrc.local b/home/.zshrc.local index f7f647f..689ea48 100644 --- a/home/.zshrc.local +++ b/home/.zshrc.local @@ -149,7 +149,7 @@ function currency() { } function urlencode() { - python3 -c 'import urllib.parse, sys;print(urllib.parse.quote(sys.stdin.read()))' + python3 -c 'import urllib.parse; print(urllib.parse.quote(open(0, "rb").read()))' } # Program aliases/env