mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-13 08:27:26 +00:00
da09a915f2
Reviewing a PR for a completion script caused me to look at the implementation for the `__fish_complete_directories` function. Which in turn lead me to create this change to improve its implementation and add unit tests for the function.
14 lines
416 B
Text
14 lines
416 B
Text
# __fish_complete_directories test/z
|
|
# __fish_complete_directories test/d
|
|
test/data/ Directory
|
|
# __fish_complete_directories test/data
|
|
test/data/ Directory
|
|
# __fish_complete_directories test/data/
|
|
test/data/abc/ Directory
|
|
test/data/abcd/ Directory
|
|
test/data/fish/ Directory
|
|
test/data/xy/ Directory
|
|
test/data/xyz/ Directory
|
|
# __fish_complete_directories test/data/abc
|
|
test/data/abc/ abc dirs
|
|
test/data/abcd/ abc dirs
|