mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 13:53:10 +00:00
cd: Remove unneeded code
This now works in cd proper, so it's unneeded in the function.
This commit is contained in:
parent
5fd3ad624f
commit
1c43030d79
1 changed files with 0 additions and 6 deletions
|
@ -27,12 +27,6 @@ function cd --description "Change directory"
|
||||||
return $status
|
return $status
|
||||||
end
|
end
|
||||||
|
|
||||||
# allow explicit "cd ." if the mount-point became stale in the meantime
|
|
||||||
if test "$argv" = "."
|
|
||||||
cd "$PWD"
|
|
||||||
return $status
|
|
||||||
end
|
|
||||||
|
|
||||||
builtin cd $argv
|
builtin cd $argv
|
||||||
set -l cd_status $status
|
set -l cd_status $status
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue