about 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..f677374c8
--- /dev/null
+++ b/Functions/Completion/__zle
@@ -0,0 +1,7 @@
+#function zle
+
+if [[ -word 1 -N && -position 3 ]]; then
+  complist -F
+else
+  complist -b
+fi