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