mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
still didn't work correctly, there were delimiters missing in the conditional as well
This commit is contained in:
parent
b2887477e3
commit
1ae44c6b3c
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ function __fish_complete_cd -d "Completions for the cd command"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
if echo (commandline -ct)|sgrep '^/\|^\./\|^\.\./' >/dev/null
|
if echo '(commandline -ct)'|sgrep '^/\|^\./\|^\.\./' >/dev/null
|
||||||
# This is an absolute search path
|
# This is an absolute search path
|
||||||
eval printf '\%s\\tDirectory\\n' '(commandline -ct)'\*/
|
eval printf '\%s\\tDirectory\\n' '(commandline -ct)'\*/
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue