about summary refs log tree commit diff
path: root/Functions/Completion/_enable
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Completion/_enable')
-rw-r--r--Functions/Completion/_enable6
1 files changed, 6 insertions, 0 deletions
diff --git a/Functions/Completion/_enable b/Functions/Completion/_enable
new file mode 100644
index 000000000..22ff53ee7
--- /dev/null
+++ b/Functions/Completion/_enable
@@ -0,0 +1,6 @@
+#defcomp enable
+
+[[ -mcurrent -1 -*a* ]] && complist -da
+[[ -mcurrent -1 -*f* ]] && complist -dF
+[[ -mcurrent -1 -*r* ]] && complist -dw
+[[ ! -mcurrent -1 -* ]] && complist -dB