1
0
mirror of https://github.com/wting/autojump synced 2024-09-28 22:10:45 +00:00
wting_autojump/autojump.sh
2009-03-30 09:34:24 +02:00

7 lines
265 B
Bash
Executable File

# Source autojump on BASH or ZSH depending on the shell
if [ "$BASH_VERSION" ] && [ -n "$PS1" ] && echo $SHELLOPTS | grep -v posix >>/dev/null; then
. /etc/profile.d/autojump.bash
elif [ "$ZSH_VERSION" ] && [ -n "$PS1" ]; then
. /etc/profile.d/autojump.zsh
fi