mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 04:41:14 -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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user