zsh-workers
 help / color / mirror / code / Atom feed
6efe8eacba16fb05b9251bf1cab789380946191c blob 568 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
 
#compdef paste

local -a args
local dopt='[specify delimiter list]:delimiter list [tab]'
local sopt='[paste one file at a time instead of in parallel]'

if _pick_variant gnu=GNU unix --version; then
  args=(
    '(-z --zero-terminated)'{-z,--zero-terminated}'[use NUL as line delimiter instead of newline]'
    "(-d)--delimiters=$dopt"
    "(-s)--serial$sopt"
    '(- *)--help[display help information]'
    '(- *)--version[display version information]'
  )
else
  args=( -A "-?*" )
fi

_arguments -s $args "(--delimiters)-d+$dopt" "(--serial)-s$sopt" '*:file:_files'
debug log:

solving 6efe8eacb ...
found 6efe8eacb in https://git.vuxu.org/mirror/zsh/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).