7 lines
259 B
Bash
7 lines
259 B
Bash
# This makes zsh automatically escape certain characters when typing a url
|
|
autoload -Uz url-quote-magic
|
|
zle -N self-insert url-quote-magic
|
|
|
|
# This does the same for pasting a url
|
|
autoload -Uz bracketed-paste-magic
|
|
zle -N bracketed-paste bracketed-paste-magic
|