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