Add Homestead plugin
This commit is contained in:
parent
1b6af54676
commit
22a95d1576
10
plugins/homestead/homestead.plugin.zsh
Normal file
10
plugins/homestead/homestead.plugin.zsh
Normal file
@ -0,0 +1,10 @@
|
||||
# Homestead basic command completion
|
||||
_homestead_get_command_list () {
|
||||
homestead --no-ansi | sed "1,/Available commands/d" | awk '/^ +[a-z]+/ { print $1 }'
|
||||
}
|
||||
|
||||
_homestead () {
|
||||
compadd `_homestead_get_command_list`
|
||||
}
|
||||
|
||||
compdef _homestead homestead
|
Loading…
Reference in New Issue
Block a user