Browse Source

fix cd -

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

+ 1
- 1
bashrc View File

@@ -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


Loading…
Cancel
Save