about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_xargs15
1 files changed, 15 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_xargs b/Completion/Unix/Command/_xargs
new file mode 100644
index 000000000..f727ed8b7
--- /dev/null
+++ b/Completion/Unix/Command/_xargs
@@ -0,0 +1,15 @@
+#compdef xargs
+
+_arguments \
+  '(-t)-p[prompt user for each command]' \
+  '(-p)-t[verbose - echo each command]' \
+  '-x[exit if max size exceeded]' \
+  -{e-,E}':end-of-file string:' \
+  '(-x -I)-i-:replacement string for lines:' \
+  '(-x -i)-I:replacement string for lines:' \
+  '(-n -L -x)-l-:number of input lines:' \
+  '(-n -l)-L:number of input lines:' \
+  '(-l -L)-n-:maximum number of arguments:' \
+  '-s-:maximum command line length:' \
+  '(-):command: _command_names -e' \
+  '*::args: _normal'