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..3478c9f38
--- /dev/null
+++ b/Functions/Completion/__source
@@ -0,0 +1,7 @@
+#function source
+
+if [[ -position 2 -1 ]]; then
+  compsub
+else
+  __files
+fi