瀏覽代碼

make autojump.sh POSIX compliant, thanks oylenshpeegul

pull/18/head
Joel Schaerer 15 年之前
父節點
當前提交
0dceb14a89
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      autojump.sh

+ 2
- 2
autojump.sh 查看文件

@ -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…
取消
儲存