fixed autojump: autocompletion works with homebrew again

This commit is contained in:
Hauke Stange 2012-11-28 10:47:31 +01:00
parent 12f416b125
commit 5c98325772

View file

@ -1,4 +1,4 @@
if [ $commands[autojump] ]; then # check if autojump is if [ $commands[autojump] ]; then # check if autojump is installed
if [ -f /usr/share/autojump/autojump.zsh ]; then # debian and ubuntu package if [ -f /usr/share/autojump/autojump.zsh ]; then # debian and ubuntu package
. /usr/share/autojump/autojump.zsh . /usr/share/autojump/autojump.zsh
elif [ -f /etc/profile.d/autojump.zsh ]; then # manual installation elif [ -f /etc/profile.d/autojump.zsh ]; then # manual installation