summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Completion/Unix/Type/_dir_list7
1 files changed, 7 insertions, 0 deletions
diff --git a/Completion/Unix/Type/_dir_list b/Completion/Unix/Type/_dir_list
new file mode 100644
index 000000000..122d7ad94
--- /dev/null
+++ b/Completion/Unix/Type/_dir_list
@@ -0,0 +1,7 @@
+#autoload
+
+local suf
+
+compset -P '*:'
+compset -S ':*' || suf=":"
+_files -S "$suf" -r ': \t\t\-' -/