From 9d94c2050dd350866454aaf980a36019699bc4d7 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sun, 9 Sep 2012 23:32:21 +0900 Subject: [PATCH] fix cd --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 0faafc7..91e198c 100755 --- a/bashrc +++ b/bashrc @@ -220,7 +220,7 @@ cd(){ then local pwd="$PWD" popd >/dev/null - pushd -n "$pwd" >/dev/null # stack last dir + 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