From 6acfae9dc0d3bc73e104664eb1c94f72605cd195 Mon Sep 17 00:00:00 2001 From: Modestas Stankus Date: Wed, 11 Jan 2012 14:18:29 +0200 Subject: [PATCH] Now works on debian/ubuntu too. --- plugins/autojump/autojump.plugin.zsh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/autojump/autojump.plugin.zsh b/plugins/autojump/autojump.plugin.zsh index 6f9b80bff..1ce566551 100644 --- a/plugins/autojump/autojump.plugin.zsh +++ b/plugins/autojump/autojump.plugin.zsh @@ -1,4 +1,6 @@ -if [ -f /opt/local/etc/profile.d/autojump.sh ]; then +if [ -f /usr/share/autojump/autojump.zsh ] ; then + . /usr/share/autojump/autojump.zsh +elif [ -f /opt/local/etc/profile.d/autojump.sh ]; then . /opt/local/etc/profile.d/autojump.sh elif [ -f `brew --prefix`/etc/autojump ]; then . `brew --prefix`/etc/autojump