diff --git a/share/functions/cd.fish b/share/functions/cd.fish index e7c868868..bf41f4f3b 100644 --- a/share/functions/cd.fish +++ b/share/functions/cd.fish @@ -27,12 +27,6 @@ function cd --description "Change directory" return $status end - # allow explicit "cd ." if the mount-point became stale in the meantime - if test "$argv" = "." - cd "$PWD" - return $status - end - builtin cd $argv set -l cd_status $status