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