mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-28 09:31:16 -03:00
still didn't work correctly, there were delimiters missing in the conditional as well
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user