mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 12:51:12 -03:00
__fish_complete_directories: Use an empty command as the dummy
Fixes #9574
This commit is contained in:
@@ -46,6 +46,10 @@ complete -c t -l fileoption -rF
|
||||
complete -C't --fileoption ' | string match test.fish
|
||||
# CHECK: test.fish
|
||||
|
||||
# See that an empty command gets files
|
||||
complete -C'"" t' | string match test.fish
|
||||
# CHECK: test.fish
|
||||
|
||||
# Make sure bare `complete` is reasonable,
|
||||
complete -p '/complete test/beta1' -d 'desc, desc' -sZ
|
||||
complete -c 'complete test beta2' -r -d 'desc \' desc2 [' -a 'foo bar'
|
||||
|
||||
Reference in New Issue
Block a user