Auto-escape pasted URLs
This commit is contained in:
parent
01cfce56d0
commit
4e8503003b
1 changed files with 4 additions and 0 deletions
|
@ -120,6 +120,10 @@ export BAT_THEME_DARK="Sublime Snazzy"
|
|||
# Source the untracked `extra` file
|
||||
test -e $HOME/.extra && source $HOME/.extra
|
||||
|
||||
# Auto quote pasted URLs
|
||||
autoload -U url-quote-magic
|
||||
zle -N self-insert url-quote-magic
|
||||
|
||||
# Set the prompt
|
||||
# We need zsh git integration
|
||||
# Autoload zsh's `add-zsh-hook` and `vcs_info` functions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue