mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 00:04:31 +08: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.
36 lines
273 B
Plaintext
36 lines
273 B
Plaintext
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
|