mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 05:40:08 +00:00
Merge pull request #3986 from evilhamsterman/master
Only load url-quote-magic if it is available.
This commit is contained in:
commit
422db48e37
1 changed files with 7 additions and 3 deletions
|
@ -1,6 +1,10 @@
|
||||||
## smart urls
|
## Load smart urls if available
|
||||||
|
for d in $fpath; do
|
||||||
|
if [[ -e "$d/url-quote-magic"]]; then
|
||||||
autoload -U url-quote-magic
|
autoload -U url-quote-magic
|
||||||
zle -N self-insert url-quote-magic
|
zle -N self-insert url-quote-magic
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
## jobs
|
## jobs
|
||||||
setopt long_list_jobs
|
setopt long_list_jobs
|
||||||
|
|
Loading…
Reference in a new issue