1
0
mirror of https://github.com/DazAh/dotfiles synced 2026-05-22 10:35:48 +01:00
Files
dotfiles/exact_dot_oh-my-zsh/exact_plugins/exact_homestead/homestead.plugin.zsh
T
2019-10-13 01:29:05 +01:00

11 lines
260 B
Bash

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