diff options
Diffstat (limited to 'Completion/Unix/Type/_dir_list')
-rw-r--r-- | Completion/Unix/Type/_dir_list | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_dir_list b/Completion/Unix/Type/_dir_list index 574e8a2af..536d424e3 100644 --- a/Completion/Unix/Type/_dir_list +++ b/Completion/Unix/Type/_dir_list @@ -4,6 +4,8 @@ # -s <sep> to specify the separator (default is a colon) # -S to say that the separator should be added as a suffix (instead # of the default slash) +# any description passed should apply to an individual directory and not +# to the entire list local sep=: dosuf suf @@ -24,4 +26,4 @@ else suf=() fi -_files "$suf[@]" -r "${sep}"' /\t\t\-' -/ "$@" +_directories "$suf[@]" -r "${sep}"' /\t\t\-' "$@" |