summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_head
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2025-11-24 22:08:46 +0100
committerOliver Kiddle <opk@zsh.org>2025-11-24 22:10:27 +0100
commit5a1cbabead83d2479531579063a4540df6795d3d (patch)
tree83029e9b47f914fe67260adc46ccb9b660f385a8 /Completion/Unix/Command/_head
parent54092 (tweaked): _git: improve format completion (diff)
downloadzsh-5a1cbabead83d2479531579063a4540df6795d3d.tar
zsh-5a1cbabead83d2479531579063a4540df6795d3d.tar.gz
zsh-5a1cbabead83d2479531579063a4540df6795d3d.tar.bz2
zsh-5a1cbabead83d2479531579063a4540df6795d3d.tar.lz
zsh-5a1cbabead83d2479531579063a4540df6795d3d.tar.xz
zsh-5a1cbabead83d2479531579063a4540df6795d3d.tar.zst
zsh-5a1cbabead83d2479531579063a4540df6795d3d.zip
54094: handle rust coreutils in completions
Diffstat (limited to 'Completion/Unix/Command/_head')
-rw-r--r--Completion/Unix/Command/_head2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_head b/Completion/Unix/Command/_head
index 8877600f6..03e6485a2 100644
--- a/Completion/Unix/Command/_head
+++ b/Completion/Unix/Command/_head
@@ -3,7 +3,7 @@
local curcontext=$curcontext state state_descr line expl opts args ret=1
typeset -A opt_args
-if _pick_variant gnu=GNU unix --version; then
+if _pick_variant gnu='(GNU|uutils)' unix --version; then
args=(
'(-n --lines -c --bytes)'{-c+,--bytes=}'[print the first (or with -, all but the last) specified bytes]:number of bytes:->number'
'(-n --lines -c --bytes)'{-n+,--lines=}'[print the first (or with -, all but the last) specified lines]:number of lines:->number'