From 57b17036aa90f3abc8d27c4233449d30e198f341 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Mon, 10 Sep 2012 00:02:09 +0900 Subject: [PATCH] temporary fix --- bashrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bashrc b/bashrc index 4a6a3bf..de5d69f 100755 --- a/bashrc +++ b/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