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