add check for autojump plugin before loading into shell
This commit is contained in:
parent
ae3af530f9
commit
8504d8f769
1 changed files with 4 additions and 1 deletions
|
@ -90,7 +90,10 @@ load_plugins() {
|
||||||
zgen oh-my-zsh plugins/rsync
|
zgen oh-my-zsh plugins/rsync
|
||||||
zgen oh-my-zsh plugins/screen
|
zgen oh-my-zsh plugins/screen
|
||||||
zgen oh-my-zsh plugins/vagrant
|
zgen oh-my-zsh plugins/vagrant
|
||||||
|
# check for autojump install before applying plugin
|
||||||
|
if [ type autojump >/dev/null 2>&1 ]; then
|
||||||
zgen oh-my-zsh plugins/autojump
|
zgen oh-my-zsh plugins/autojump
|
||||||
|
fi
|
||||||
zgen oh-my-zsh plugins/tmux
|
zgen oh-my-zsh plugins/tmux
|
||||||
zgen oh-my-zsh plugins/tmuxinator
|
zgen oh-my-zsh plugins/tmuxinator
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue