homestead.plugin.zsh 248 B

12345678910
  1. # Homestead basic command completion
  2. _homestead_get_command_list () {
  3. homestead --no-ansi | sed "1,/Available commands/d" | awk '/^ +[a-z]+/ { print $1 }'
  4. }
  5. _homestead () {
  6. compadd `_homestead_get_command_list`
  7. }
  8. compdef _homestead homestead