mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 00:41:15 -03:00
Fix cd prompt fail on the case that CDPATH have variables
This commit is contained in:
@@ -31,7 +31,7 @@ function __fish_complete_cd -d "Completions for the cd command"
|
||||
# in case the CDPATH directory is relative
|
||||
|
||||
builtin cd $wd
|
||||
builtin cd $i
|
||||
eval builtin cd $i
|
||||
|
||||
eval printf '"%s\tDirectory in "'$i'"\n"' (commandline -ct)\*/
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user