mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
7 lines
265 B
Bash
Executable File
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
|