summary refs log tree commit diff
path: root/Functions/Completion/__disable
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Completion/__disable')
-rw-r--r--Functions/Completion/__disable6
1 files changed, 6 insertions, 0 deletions
diff --git a/Functions/Completion/__disable b/Functions/Completion/__disable
new file mode 100644
index 000000000..c56ffb7f7
--- /dev/null
+++ b/Functions/Completion/__disable
@@ -0,0 +1,6 @@
+#function disable
+
+[[ -mcurrent -1 -*a* ]] && complist -ea
+[[ -mcurrent -1 -*f* ]] && complist -eF
+[[ -mcurrent -1 -*r* ]] && complist -ew
+[[ ! -mcurrent -1 -* ]] && complist -eB