diff options
Diffstat (limited to 'zsh/oh-my-zsh/plugins/symfony')
-rw-r--r-- | zsh/oh-my-zsh/plugins/symfony/README.md | 9 | ||||
-rw-r--r-- | zsh/oh-my-zsh/plugins/symfony/symfony.plugin.zsh | 13 |
2 files changed, 0 insertions, 22 deletions
diff --git a/zsh/oh-my-zsh/plugins/symfony/README.md b/zsh/oh-my-zsh/plugins/symfony/README.md deleted file mode 100644 index c58f64f..0000000 --- a/zsh/oh-my-zsh/plugins/symfony/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# 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) -``` diff --git a/zsh/oh-my-zsh/plugins/symfony/symfony.plugin.zsh b/zsh/oh-my-zsh/plugins/symfony/symfony.plugin.zsh deleted file mode 100644 index f070e9e..0000000 --- a/zsh/oh-my-zsh/plugins/symfony/symfony.plugin.zsh +++ /dev/null @@ -1,13 +0,0 @@ -# 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 |