Skip to content

Commit

Permalink
Merge pull request #2448 from gawashburn/master
Browse files Browse the repository at this point in the history
Fix autojump script to support Nix installations
  • Loading branch information
robbyrussell committed Nov 28, 2014
2 parents 5acfdf5 + 923d2c8 commit 43aa378
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/autojump/autojump.plugin.zsh
@@ -1,6 +1,8 @@
if [ $commands[autojump] ]; then # check if autojump is installed
if [ -f $HOME/.autojump/etc/profile.d/autojump.zsh ]; then # manual user-local installation
. $HOME/.autojump/etc/profile.d/autojump.zsh
elif [ -f $HOME/.nix-profile/etc/profile.d/autojump.zsh ]; then # nix installation
. $HOME/.nix-profile/etc/profile.d/autojump.zsh
elif [ -f /usr/share/autojump/autojump.zsh ]; then # debian and ubuntu package
. /usr/share/autojump/autojump.zsh
elif [ -f /etc/profile.d/autojump.zsh ]; then # manual installation
Expand Down

0 comments on commit 43aa378

Please sign in to comment.