mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
do not use url-quote-magic if it is not available
This commit is contained in:
parent
a738ca9b64
commit
8003cc0ec9
1 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
## smart urls
|
||||
autoload -U url-quote-magic
|
||||
zle -N self-insert url-quote-magic
|
||||
if [ -f "/usr/share/zsh/functions/Zle/url-quote-magic" ] ; then
|
||||
autoload -U url-quote-magic && zle -N self-insert url-quote-magic
|
||||
fi
|
||||
|
||||
## file rename magick
|
||||
bindkey "^[m" copy-prev-shell-word
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue