Browse Source

make autojump.sh POSIX compliant, thanks oylenshpeegul

pull/18/head
Joel Schaerer 15 years ago
parent
commit
0dceb14a89
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      autojump.sh

+ 2
- 2
autojump.sh View File

@ -1,5 +1,5 @@
#Source autojump.bashrc only if we're on bash, as it is
#not compatible with other shells
if [ $SHELL = "/bin/bash" ] && [ -n "$PS1" ]; then
source /etc/profile.d/autojump.bash
if [ $BASH_VERSION ] && [ -n "$PS1" ]; then
. /etc/profile.d/autojump.bash
fi

Loading…
Cancel
Save