4 ms·
Since such URLs very often come from copy & paste another way to deal with this is smart auto-quoting when a paste is detected via the "bracketed paste" feature
by donio 4y ago
Since such URLs very often come from copy & paste another way to deal with this is smart auto-quoting when a paste is detected via the "bracketed paste" feature of modern terminal emulators. zsh does this if you enable url-quote-magic.
- faho 4y agoFish also enables bracketed paste and does smart escaping when you paste inside single-quotes. (I'm a fish developer)