From 1ef3bff462d5a7ae5be0f36e66d0361fe380320f Mon Sep 17 00:00:00 2001 From: Ruben Di Battista Date: Mon, 8 Feb 2016 13:53:24 +0100 Subject: [PATCH] Fix bug with macports autojump on OSX. --- plugins/autojump/autojump.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/autojump/autojump.plugin.zsh b/plugins/autojump/autojump.plugin.zsh index 592afc770..6cca5ffb7 100644 --- a/plugins/autojump/autojump.plugin.zsh +++ b/plugins/autojump/autojump.plugin.zsh @@ -13,7 +13,7 @@ if [ $commands[autojump] ]; then # check if autojump is installed . /etc/profile.d/autojump.sh elif [ -f /usr/local/share/autojump/autojump.zsh ]; then # freebsd installation . /usr/local/share/autojump/autojump.zsh - elif [ -f /opt/local/etc/profile.d/autojump.zsh ]; then # mac os x with ports + elif [ -f /opt/local/etc/profile.d/autojump.sh ]; then # mac os x with ports . /opt/local/etc/profile.d/autojump.sh elif [ $commands[brew] -a -f `brew --prefix`/etc/autojump.sh ]; then # mac os x with brew . `brew --prefix`/etc/autojump.sh