Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
donio
· 4y ago · 0 comments
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.
Comments
[–]
faho
4y ago
Fish also enables bracketed paste and does smart escaping when you paste inside single-quotes.
(I'm a fish developer)