Add zsh/oh my zsh/w10k
This commit is contained in:
8
zsh/.oh-my-zsh/plugins/phing/README.md
Normal file
8
zsh/.oh-my-zsh/plugins/phing/README.md
Normal file
@ -0,0 +1,8 @@
|
||||
# Phing plugin
|
||||
|
||||
This plugin adds autocompletion for [`phing`](https://github.com/phingofficial/phing) targets.
|
||||
|
||||
To use it, add `phing` to the plugins array of your `.zshrc` file:
|
||||
```
|
||||
plugins=(... eecms)
|
||||
```
|
7
zsh/.oh-my-zsh/plugins/phing/phing.plugin.zsh
Normal file
7
zsh/.oh-my-zsh/plugins/phing/phing.plugin.zsh
Normal file
@ -0,0 +1,7 @@
|
||||
_phing () {
|
||||
if [ -f build.xml ]; then
|
||||
compadd $(phing -l|grep -v "\[property\]"|grep -v "Buildfile"|sed 1d|grep -v ":$" |grep -v "^\-*$"|grep -v "Warning:"|awk '{print $1}')
|
||||
fi
|
||||
}
|
||||
|
||||
compdef _phing phing
|
Reference in New Issue
Block a user