mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-14 08:58:01 +00:00
8a3cf144f2
Directories are completed like commands, because of implicit cd. However, directories found inside $PATH entries should not be completed, as implicit cd doesn't work there. Similarly, directories should not be completed after the `command` builtin. Fixes #1695.
35 lines
273 B
Text
35 lines
273 B
Text
AAAA:
|
|
--abcd
|
|
AAAA:
|
|
--abcd
|
|
--efgh
|
|
BBBB:
|
|
--abcd
|
|
BBBB:
|
|
|
|
CCCC:
|
|
--bar
|
|
--baz
|
|
-a
|
|
-b
|
|
-bar
|
|
-foo
|
|
CCCC:
|
|
--baz
|
|
-a
|
|
-b
|
|
-bar
|
|
-foo
|
|
CCCC:
|
|
--baz
|
|
-a
|
|
-b
|
|
-bar
|
|
CCCC:
|
|
--baz
|
|
-b
|
|
-bar
|
|
CCCC:
|
|
implicit cd complete works
|
|
no implicit cd complete after 'command'
|
|
PATH does not cause incorrect implicit cd
|