Merge pull request #1251 from zsh-users/refactor_inxi

Use builtin generating sequential number instead of external commands
This commit is contained in:
Shohei YOSHIDA 2026-03-26 23:55:18 +09:00 committed by GitHub
commit 47d0792461
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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]" \