chezmoi init
This commit is contained in:
commit
530d6d7195
1176 changed files with 111325 additions and 0 deletions
9
dot_oh-my-zsh/plugins/symfony/README.md
Normal file
9
dot_oh-my-zsh/plugins/symfony/README.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Symfony
|
||||
|
||||
This plugin provides completion for [Symfony](https://symfony.com/).
|
||||
|
||||
To use it add symfony to the plugins array in your zshrc file.
|
||||
|
||||
```bash
|
||||
plugins=(... symfony)
|
||||
```
|
13
dot_oh-my-zsh/plugins/symfony/symfony.plugin.zsh
Normal file
13
dot_oh-my-zsh/plugins/symfony/symfony.plugin.zsh
Normal file
|
@ -0,0 +1,13 @@
|
|||
# symfony basic command completion
|
||||
|
||||
_symfony_get_command_list () {
|
||||
php symfony | sed "1,/Available tasks/d" | awk 'BEGIN { cat=null; } /^[A-Za-z]+$/ { cat = $1; } /^ :[a-z]+/ { print cat $1; }'
|
||||
}
|
||||
|
||||
_symfony () {
|
||||
if [ -f symfony ]; then
|
||||
compadd `_symfony_get_command_list`
|
||||
fi
|
||||
}
|
||||
|
||||
compdef _symfony symfony
|
Loading…
Add table
Add a link
Reference in a new issue