News for hackers. Stuff that matters.
Re:Ask HN: Can I see your scripts? by olejorgenb on Saturday August 20, 2022 @03:00AM (#32529873)
To make zsh complete these commands:

    zstyle ':completion:*:*:git:*' user-commands ${${(M)${(k)commands}:#git-*}/git-/}
Or specify just the ones you want to be completed:

    zstyle ':completion:*:*:git:*' user-commands foo:'description for foo'
(from /usr/share/zsh/functions/Completion/Unix/_git)

There are no comments on this comment yet.