about 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..e9db6c43a
--- /dev/null
+++ b/Functions/Completion/__set
@@ -0,0 +1,7 @@
+#function  set
+
+if [[ -mcurrent -1 [-+]o ]]; then
+  complist -o
+elif [[ -current -1 -A ]]; then
+  complist -A
+fi