summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_nice
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/_nice
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/_nice')
-rw-r--r--Completion/Unix/Command/_nice2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_nice b/Completion/Unix/Command/_nice
index b52e5216a..a54f8a9f8 100644
--- a/Completion/Unix/Command/_nice
+++ b/Completion/Unix/Command/_nice
@@ -9,7 +9,7 @@ if [[ $words[2] = -(-|+|)[0-9]## ]]; then
fi
compset -n 2 # Ignore the 1st arg
else
- if _pick_variant gnu=GNU unix --version; then
+ if _pick_variant gnu='(GNU|uutils)' unix --version; then
specs+=(
'(-)'{-n+,--adjustment=}'[adjust niceness]:niceness increment'
'(* -)--help[display help and exit]'