Use builtin generating sequential number instead of external commands
`seq` is not installed on some BSD platforms by default.
This commit is contained in:
parent
b1ffb771c9
commit
748efd8af7
|
|
@ -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]" \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue