aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_complete_cd.fish
diff options
context:
space:
mode:
authorGravatar Grissiom <chaos.proton@gmail.com>2010-09-17 16:01:44 +0800
committerGravatar Grissiom <chaos.proton@gmail.com>2010-09-17 16:01:44 +0800
commit1b16758d7e5cc98b4b9afe4bd747c77bcc39faa6 (patch)
treea556bd8c447c6c47e8f76257ffec121b4da0cef7 /share/functions/__fish_complete_cd.fish
parent51b5adc30601a0a11b2f9af4b861ef7fdedacf15 (diff)
Fix cd prompt fail on the case that CDPATH have variables
Diffstat (limited to 'share/functions/__fish_complete_cd.fish')
-rw-r--r--share/functions/__fish_complete_cd.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/__fish_complete_cd.fish b/share/functions/__fish_complete_cd.fish
index c4a6695a..1ca88af3 100644
--- a/share/functions/__fish_complete_cd.fish
+++ b/share/functions/__fish_complete_cd.fish
@@ -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