Parent directory

homestead.plugin.zsh

260 bytes
 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
 6_homestead () {
 7  compadd `_homestead_get_command_list`
 8}
 9
10compdef _homestead homestead