mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-28 15:54:48 +00:00
Use builtin generating sequential number instead of external commands
`seq` is not installed on some BSD platforms by default.
This commit is contained in:
@@ -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]" \
|
||||||
|
|||||||
Reference in New Issue
Block a user