mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Update function wrapper for cd builtin, make sure a local variable is used
darcs-hash:20060617131145-ac50b-1cef97b5e774713f659962b7e33f889be3081a3d.gz
This commit is contained in:
parent
e94803152c
commit
c9e98c2eef
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ function cd -d (N_ "Change directory")
|
|||
end
|
||||
|
||||
# Avoid set completions
|
||||
set previous $PWD
|
||||
set -l previous $PWD
|
||||
|
||||
if test $argv[1] = - ^/dev/null
|
||||
if test $__fish_cd_direction = next ^/dev/null
|
||||
|
|
Loading…
Reference in a new issue