mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
make autojump.sh POSIX compliant, thanks oylenshpeegul
This commit is contained in:
parent
220a8da7aa
commit
0dceb14a89
@ -1,5 +1,5 @@
|
|||||||
#Source autojump.bashrc only if we're on bash, as it is
|
#Source autojump.bashrc only if we're on bash, as it is
|
||||||
#not compatible with other shells
|
#not compatible with other shells
|
||||||
if [ $SHELL = "/bin/bash" ] && [ -n "$PS1" ]; then
|
if [ $BASH_VERSION ] && [ -n "$PS1" ]; then
|
||||||
source /etc/profile.d/autojump.bash
|
. /etc/profile.d/autojump.bash
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user