Skip to content
Newer
Older
100644 22 lines (21 sloc) 1.19 KB
5809a47 @kalos check if autojump is installed
kalos authored Jan 10, 2012
1 if [ $commands[autojump] ]; then # check if autojump is installed
50fe95a @xuhdev Autojump plugin: check user local installation first.
xuhdev authored Oct 25, 2013
2 if [ -f $HOME/.autojump/etc/profile.d/autojump.zsh ]; then # manual user-local installation
3 . $HOME/.autojump/etc/profile.d/autojump.zsh
a19d1d1 @bbiao autojump installed from github has mv the autojump.zsh to $HOME/.auto…
bbiao authored Dec 4, 2014
4 elif [ -f $HOME/.autojump/share/autojump/autojump.zsh ]; then # another manual user-local installation
5 . $HOME/.autojump/share/autojump/autojump.zsh
923d2c8 Fix autojump script to support Nix installations
Geoffrey Washburn authored Jan 19, 2014
6 elif [ -f $HOME/.nix-profile/etc/profile.d/autojump.zsh ]; then # nix installation
7 . $HOME/.nix-profile/etc/profile.d/autojump.zsh
50fe95a @xuhdev Autojump plugin: check user local installation first.
xuhdev authored Oct 25, 2013
8 elif [ -f /usr/share/autojump/autojump.zsh ]; then # debian and ubuntu package
5809a47 @kalos check if autojump is installed
kalos authored Jan 10, 2012
9 . /usr/share/autojump/autojump.zsh
10 elif [ -f /etc/profile.d/autojump.zsh ]; then # manual installation
11 . /etc/profile.d/autojump.zsh
6de78ad @bebugz gentoo linux support
bebugz authored May 9, 2013
12 elif [ -f /etc/profile.d/autojump.sh ]; then # gentoo installation
13 . /etc/profile.d/autojump.sh
699c82e @ych Add FreeBSD support for autojump plugin
ych authored Nov 29, 2013
14 elif [ -f /usr/local/share/autojump/autojump.zsh ]; then # freebsd installation
15 . /usr/local/share/autojump/autojump.zsh
7284e6b added autojump plugin support for mac os x + port
Aviad Reich authored Sep 21, 2012
16 elif [ -f /opt/local/etc/profile.d/autojump.zsh ]; then # mac os x with ports
17 . /opt/local/etc/profile.d/autojump.zsh
1bf5c58 @hanschen Update autojump plugin for latest brew installation
hanschen authored Aug 25, 2015
18 elif [ $commands[brew] -a -f `brew --prefix`/etc/autojump.sh ]; then # mac os x with brew
19 . `brew --prefix`/etc/autojump.sh
955825b @kalos autojump plugin enhanced
kalos authored Jan 3, 2012
20 fi
31ef619 @jacobat Add autojump plugin
jacobat authored May 19, 2011
21 fi
Something went wrong with that request. Please try again.