mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01: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 changed files with 0 additions and 5 deletions
|
@ -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 a new issue