summary refs log tree commit diff
path: root/Functions/Completion/_zle
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Completion/_zle')
-rw-r--r--Functions/Completion/_zle7
1 files changed, 7 insertions, 0 deletions
diff --git a/Functions/Completion/_zle b/Functions/Completion/_zle
new file mode 100644
index 000000000..bb1102e74
--- /dev/null
+++ b/Functions/Completion/_zle
@@ -0,0 +1,7 @@
+#defcomp zle
+
+if [[ -word 1 -N && -position 3 ]]; then
+  complist -F
+else
+  complist -b
+fi