瀏覽代碼

fix cd

pull/1/head
10sr 11 年之前
父節點
當前提交
bf0f9c30ed
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      bashrc

+ 1
- 1
bashrc 查看文件

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


Loading…
取消
儲存