浏览代码

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.
mapshen 4 年之前
父节点
当前提交
9524db7398
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      plugins/autojump/autojump.plugin.zsh

+ 0 - 5
plugins/autojump/autojump.plugin.zsh

@@ -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