magically auto-quote URLs pasted into zsh
This commit is contained in:
parent
1f756fc240
commit
070fc333ec
1 changed files with 5 additions and 0 deletions
|
|
@ -160,6 +160,11 @@ for op in \| \< \> \&
|
|||
do bindkey "$op" self-insert-redir
|
||||
done
|
||||
|
||||
# 3.9. Auto quote pasted URLs
|
||||
# ---------------------------
|
||||
autoload -U url-quote-magic
|
||||
zle -N self-insert url-quote-magic
|
||||
|
||||
|
||||
|
||||
# 4. Terminal Settings
|
||||
|
|
|
|||
Loading…
Reference in a new issue