3 ms·
I could only get it work with bash, on zsh it does not work.
by turtleman1338 4y ago
I could only get it work with bash, on zsh it does not work.
- Calzifer 4y agoBecause zsh has usually the url-quote-magic feature enabled which automatically escapes all special characters typed or pasted if the current argument is identified as URL.
- jwilk 4y agoMost likely it escapes enough to prevent code execution, but last time I tried it didn't escape all special characters out of the box: https://news.ycombinator.com/item?id=29071196 https://news.ycombinator.com/item?id=29071196
- turtleman1338 4y ago$ also gets escaped automatically for me if pasted