fish-shell/tests/__fish_complete_directories.out
Kurtis Rader da09a915f2 improve __fish_complete_directories function
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.
2017-04-11 13:45:53 -07:00

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