Browse Source

fix small bug

pull/1/head
10sr 12 years ago
parent
commit
20d66f465e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bashrc

+ 2
- 2
bashrc View File

@@ -218,9 +218,9 @@ cd(){
pushd ~/ >/dev/null pushd ~/ >/dev/null
elif ! test -d "$1" elif ! test -d "$1"
then then
echo `basename ${SHELL}`: cd: "$1": No such file or directory 2>&1
echo `basename ${SHELL}`: cd: "$1": No such file or directory 1>&2
return 1 return 1
elif test $1 = -
elif test "$1" = -
then then
local pwd="$PWD" local pwd="$PWD"
popd >/dev/null popd >/dev/null


Loading…
Cancel
Save