浏览代码

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


正在加载...
取消
保存