From 00a5537e52175a53f19ed63a8066edfb45e09f30 Mon Sep 17 00:00:00 2001 From: Paul Ackersviller Date: Mon, 8 Oct 2007 16:07:35 +0000 Subject: Merge new completions onto 4.2 branch. --- Completion/Unix/Command/_comm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Completion/Unix/Command/_comm (limited to 'Completion/Unix') diff --git a/Completion/Unix/Command/_comm b/Completion/Unix/Command/_comm new file mode 100644 index 000000000..e90c317f6 --- /dev/null +++ b/Completion/Unix/Command/_comm @@ -0,0 +1,20 @@ +#compdef comm + +local -a args + +args=( + '-1[suppress lines unique to FILE1]' + '-2[suppress lines unique to FILE2]' + '-3[suppress lines that appear in both files]' + '1:file1 to compare:_files' + '2:file2 to compare:_files' +) + +if _pick_variant gnu=GNU unix --version; then + args+=( + '(- : *)--version[display version information]' + '(- : *)--help[display help information]' + ) +fi + +_arguments -s $args -- cgit 1.4.1