mathiasbynens / dotfiles

:wrench: .files, including ~/.macos — sensible hacker defaults for macOS
https://mths.be/dotfiles
MIT License
30.01k stars 8.74k forks source link

`urlencode` is only compatible with Py2 #1048

Open Rudxain opened 1 year ago

Rudxain commented 1 year ago

https://github.com/mathiasbynens/dotfiles/issues/470#issuecomment-1541346659

Why not update it?

BTW, here's my implementation

alias urlencode='python3 -c "from sys import argv; from urllib.parse import quote_plus as q; print(q(argv[1]))"'