mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 01:48:34 -07:00
autojump: fix loading when autojump is not in $PATH (#8074)
The `commands[autojump]` block errs out when autojump is not found, and the rest, which is intended to be used for loading `autojump`, does not get executed.
This commit is contained in:
parent
2217a7c803
commit
9524db7398
@ -1,8 +1,3 @@
|
||||
(( $+commands[autojump] )) || {
|
||||
echo '[oh-my-zsh] Please install autojump first (https://github.com/wting/autojump)'
|
||||
return
|
||||
}
|
||||
|
||||
declare -a autojump_paths
|
||||
autojump_paths=(
|
||||
$HOME/.autojump/etc/profile.d/autojump.zsh # manual installation
|
||||
|
Loading…
Reference in New Issue
Block a user