homestead.plugin.zsh 260 B

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