Use builtin generating sequential number instead of external commands

`seq` is not installed on some BSD platforms by default.
This commit is contained in:
Shohei YOSHIDA 2026-03-26 17:30:13 +09:00
parent b1ffb771c9
commit 748efd8af7
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ _inxi() {
local curcontext="$curcontext" local curcontext="$curcontext"
local ret=1 local ret=1
local colors=($(seq 0 42)) local -a colors=({0..42})
_arguments -C -s \ _arguments -C -s \
'(-A --audio)'{-A,--audio}"[Show Audio/sound card(s) information]" \ '(-A --audio)'{-A,--audio}"[Show Audio/sound card(s) information]" \