aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_complete_cd.fish
diff options
context:
space:
mode:
authorGravatar Andreas Raster <lazor@affenbande.org>2011-06-24 02:45:05 +0200
committerGravatar Andreas Raster <lazor@affenbande.org>2011-06-24 02:45:05 +0200
commit1ae44c6b3c02060e69eb0896cdd6f1b782faadbc (patch)
treeb1efb6238f7f6f64ad9f42d8a7bc944aff7d1fbb /share/functions/__fish_complete_cd.fish
parentb2887477e3637d194da43fab84cd047ed4de889a (diff)
still didn't work correctly, there were delimiters missing in the conditional as well
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 78407425..5e519835 100644
--- a/share/functions/__fish_complete_cd.fish
+++ b/share/functions/__fish_complete_cd.fish
@@ -18,7 +18,7 @@ function __fish_complete_cd -d "Completions for the cd command"
end
- if echo (commandline -ct)|sgrep '^/\|^\./\|^\.\./' >/dev/null
+ if echo '(commandline -ct)'|sgrep '^/\|^\./\|^\.\./' >/dev/null
# This is an absolute search path
eval printf '\%s\\tDirectory\\n' '(commandline -ct)'\*/
else