autojump: clarify need to install it first
Related: #8806
Diff
1diff --git a/plugins/autojump/README.md b/plugins/autojump/README.md
2index 18ff793cdc45dae57752bb63c2b2a35372f3d57b..750ff56d12ef9ef68d3390d0d9d985640bda3c06 100644
3--- a/plugins/autojump/README.md
4+++ b/plugins/autojump/README.md
5@@ -8,4 +8,4 @@ To use it, add `autojump` to the plugins array in your zshrc file:
6 plugins=(... autojump)
7 ```
8 9-More info on the usage: https://github.com/wting/autojump
10+**Note:** you have to [install autojump](https://github.com/wting/autojump#installation) first.
11diff --git a/plugins/autojump/autojump.plugin.zsh b/plugins/autojump/autojump.plugin.zsh
12index d80c88822155d0dc8fcc68c1c0ee269f18e664e4..f40b0e9315aa3a25c5933a97321d85b555d251e7 100644
13--- a/plugins/autojump/autojump.plugin.zsh
14+++ b/plugins/autojump/autojump.plugin.zsh
15@@ -29,6 +29,6 @@ if (( ! found && $+commands[brew] )); then
16 fi
17 fi
1819-(( ! found )) && echo '[oh-my-zsh] autojump script not found'
20+(( ! found )) && echo '[oh-my-zsh] autojump not found. Please install it first.'
2122 unset autojump_paths file found