added oh-my-ssh back as raw code, not as a submodule.
This commit is contained in:
parent
23fe3ee6d5
commit
f663947bfc
1195 changed files with 126994 additions and 0 deletions
9
.zsh/oh-my-zsh/plugins/homestead/README.md
Normal file
9
.zsh/oh-my-zsh/plugins/homestead/README.md
Normal 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
.zsh/oh-my-zsh/plugins/homestead/homestead.plugin.zsh
Normal file
10
.zsh/oh-my-zsh/plugins/homestead/homestead.plugin.zsh
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue