#compdef just function _just() { local -a cmdlist for entry in $(just --summary); do cmdlist+="${entry}" done _describe 'Just options' cmdlist } _just "$@"