mirror of https://github.com/wting/autojump
parent
e2c9ba0236
commit
b21f004061
@ -1,5 +1,5 @@
|
||||
#Source autojump.bashrc only if we're on bash, as it is
|
||||
#not compatible with other shells
|
||||
if [ "$BASH_VERSION" ] && [ -n "$PS1" ]; then
|
||||
if [ "$BASH_VERSION" ] && [ -n "$PS1" ] && echo $SHELLOPTS | grep -v posix >>/dev/null; then
|
||||
. /etc/profile.d/autojump.bash
|
||||
fi
|
||||
|
Loading…
Reference in new issue