From a8bb9399dcaf1ea89a2b79f69334680141d36836 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Mon, 21 Jan 2013 20:07:28 +0900 Subject: [PATCH] fix cd - --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 38aaac4..904ce50 100755 --- a/bashrc +++ b/bashrc @@ -309,7 +309,7 @@ cd(){ elif test $1 = - then local pwd="$PWD" - command cd $OLDPWD + command cd "$OLDPWD" pushd -n "$pwd" >/dev/null # stack last dir elif ! test -d "$1" then