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