fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

KidFix `xargs` option completionsa0c2be5fc

master
1.9 KiB21 linesraw
1#
2#Completions for xargs
3#
4
5complete -c xargs -n __fish_is_first_token -s 0 -l null -d "Terminate filenames with a \0 instead of whitespace, ignore quotes and backslash"
6complete -c xargs -n __fish_is_first_token -s e -l eof -d "Set the end of file string to eof-str"
7complete -c xargs -n __fish_is_first_token -s E -r -f -d "Set the end of file string to eof-str"
8complete -c xargs -n __fish_is_first_token -l help -d "Display help and exit"
9complete -c xargs -n __fish_is_first_token -s i -l replace -d "Replace replace-str in the initial arguments with names from standard input"
10complete -c xargs -n __fish_is_first_token -s I -r -f -d "Replace replace-str in the initial arguments with names from standard input"
11complete -c xargs -n __fish_is_first_token -s l -l max-lines -d "Use at most max-lines nonblank input lines per command line"
12complete -c xargs -n __fish_is_first_token -s L -r -f -d "Use at most max-lines nonblank input lines per command line"
13complete -c xargs -n __fish_is_first_token -s n -l max-args -r -f -d "Use at most max-args arguments per command line"
14complete -c xargs -n __fish_is_first_token -s p -l interactive -d "Prompt the user before running each command line"
15complete -c xargs -n __fish_is_first_token -s r -l no-run-if-empty -d "If the standard input does not contain any nonblanks, do not run the command"
16complete -c xargs -n __fish_is_first_token -s s -l max-chars -r -f -d "Use at most max-chars characters per command line"
17complete -c xargs -n __fish_is_first_token -s t -l verbose -d "Print the command line on the standard error output before executing it"
18complete -c xargs -n __fish_is_first_token -l version -d "Display version and exit"
19complete -c xargs -n __fish_is_first_token -s x -l exit -d "Exit if the size is exceeded"
20complete -c xargs -n __fish_is_first_token -s P -l max-procs -r -f -d "Run up to max-procs processes at a time"
21complete -c xargs -xa "(__fish_complete_subcommand)"