summary refs log tree commit diff
path: root/Completion/Builtins/_set
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Builtins/_set')
-rw-r--r--Completion/Builtins/_set7
1 files changed, 7 insertions, 0 deletions
diff --git a/Completion/Builtins/_set b/Completion/Builtins/_set
new file mode 100644
index 000000000..5597025bc
--- /dev/null
+++ b/Completion/Builtins/_set
@@ -0,0 +1,7 @@
+#defcomp set
+
+if [[ -mcurrent -1 [-+]o ]]; then
+  complist -o
+elif [[ -current -1 -A ]]; then
+  complist -A
+fi