mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 06:03:49 +08: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.
15 lines
416 B
Plaintext
15 lines
416 B
Plaintext
# __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
|