From bf0f9c30ed20be3e485bc65fabc24de423ba1bb9 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sun, 9 Sep 2012 23:34:35 +0900 Subject: [PATCH] fix cd --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 91e198c..308d191 100755 --- a/bashrc +++ b/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