瀏覽代碼

fix small bug

pull/1/head
10sr 11 年之前
父節點
當前提交
20d66f465e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      bashrc

+ 2
- 2
bashrc 查看文件

@@ -218,9 +218,9 @@ cd(){
pushd ~/ >/dev/null
elif ! test -d "$1"
then
echo `basename ${SHELL}`: cd: "$1": No such file or directory 2>&1
echo `basename ${SHELL}`: cd: "$1": No such file or directory 1>&2
return 1
elif test $1 = -
elif test "$1" = -
then
local pwd="$PWD"
popd >/dev/null


Loading…
取消
儲存