fix omz being in wrong directory
This commit is contained in:
parent
36265bd61c
commit
87dad1b7e9
1034 changed files with 0 additions and 1232 deletions
9
zsh/.local/share/oh-my-zsh/plugins/phing/README.md
Normal file
9
zsh/.local/share/oh-my-zsh/plugins/phing/README.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# 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:
|
||||
|
||||
```zsh
|
||||
plugins=(... phing)
|
||||
```
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue