Auto-Completion ZSH Add this to ~/.zshrc: function _bbin() { _arguments "1: :($(bbin commands))" } compdef _bbin bbin BASH Add this to ~/.bashrc: complete -W "$(bbin commands)" bbin