From 10991f800e6bbf1164b5d7eb73eb032e335d6ac8 Mon Sep 17 00:00:00 2001 From: Minh Tran Date: Mon, 26 Sep 2011 17:27:21 +0200 Subject: [PATCH] Updated Autojump plugin to work on Linux --- 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 da0a12765..771fe379d 100644 --- a/plugins/autojump/autojump.plugin.zsh +++ b/plugins/autojump/autojump.plugin.zsh @@ -1,3 +1,5 @@ -if [ -f `brew --prefix`/etc/autojump ]; then +if [ -e /etc/profile.d/autojump.zsh ]; then + . /etc/profile.d/autojump.zsh +elif [ -f `brew --prefix`/etc/autojump ]; then . `brew --prefix`/etc/autojump fi