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..b315611df
--- /dev/null
+++ b/Functions/Completion/__enable
@@ -0,0 +1,6 @@
+#function enable
+
+[[ -mcurrent -1 -*a* ]] && complist -da
+[[ -mcurrent -1 -*f* ]] && complist -dF
+[[ -mcurrent -1 -*r* ]] && complist -dw
+[[ ! -mcurrent -1 -* ]] && complist -dB