Parcourir la source

fix cd

pull/1/head
10sr il y a 11 ans
Parent
révision
bf0f9c30ed
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      bashrc

+ 1
- 1
bashrc Voir le fichier

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


Chargement…
Annuler
Enregistrer