mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
Remove unnecessary eval in __fish_complete_cd
https://github.com/fish-shell/fish-shell/pull/589
This commit is contained in:
parent
7b873179ad
commit
12095c721c
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ function __fish_complete_cd -d "Completions for the cd command"
|
||||||
# in case the CDPATH directory is relative
|
# in case the CDPATH directory is relative
|
||||||
|
|
||||||
builtin cd $wd
|
builtin cd $wd
|
||||||
eval builtin cd $i
|
builtin cd $i
|
||||||
|
|
||||||
# What we would really like to do is skip descriptions if all
|
# What we would really like to do is skip descriptions if all
|
||||||
# valid paths are in the same directory, but we don't know how to
|
# valid paths are in the same directory, but we don't know how to
|
||||||
|
|
Loading…
Reference in a new issue