summary refs log tree commit diff
path: root/Functions/Completion/_builtin
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Completion/_builtin')
-rw-r--r--Functions/Completion/_builtin7
1 files changed, 7 insertions, 0 deletions
diff --git a/Functions/Completion/_builtin b/Functions/Completion/_builtin
new file mode 100644
index 000000000..d2b11226b
--- /dev/null
+++ b/Functions/Completion/_builtin
@@ -0,0 +1,7 @@
+#defcomp builtin
+
+if [[ -position 2 -1 ]]; then
+  compsub
+else
+  complist -eB
+fi