add check for autojump plugin before loading into shell

This commit is contained in:
Marty Oehme 2019-05-15 10:27:03 +02:00
parent ae3af530f9
commit 8504d8f769

View file

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