瀏覽代碼

temporary fix

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

+ 3
- 2
bashrc 查看文件

@@ -219,8 +219,9 @@ cd(){
elif test $1 = -
then
local pwd="$PWD"
popd >/dev/null
pushd "$pwd" -n >/dev/null # stack last dir
echo $OLDPWD
command cd $OLDPWD
command pushd -n "$pwd" >/dev/null # stack last dir
elif ! test -d "$1"
then
echo `basename ${SHELL}`: cd: "$1": No such file or directory 2>&1


Loading…
取消
儲存