Added class and os alternates

This commit is contained in:
h45h74x
2020-05-06 22:06:16 +02:00
parent 5a5286b38c
commit 80a58d4669
793 changed files with 63028 additions and 295 deletions
+9
View File
@@ -0,0 +1,9 @@
# Homestead
This plugin provides completion for [Homestead](https://laravel.com/docs/homestead).
To use it add homestead to the plugins array in your zshrc file.
```bash
plugins=(... homestead)
```
+10
View File
@@ -0,0 +1,10 @@
# 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