mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
Merge 501a3f63f6 into 5667161d49
This commit is contained in:
commit
930e53b93a
2 changed files with 10 additions and 0 deletions
5
plugins/chefvm/_chefvm
Normal file
5
plugins/chefvm/_chefvm
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
#compdef chefvm
|
||||||
|
|
||||||
|
_arguments \
|
||||||
|
"1:Commands:($(__chefvm_commands))" \
|
||||||
|
"*:Configurations:($(__chefvm_configs))"
|
||||||
5
plugins/chefvm/chefvm.plugin.zsh
Normal file
5
plugins/chefvm/chefvm.plugin.zsh
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
function knife_config {
|
||||||
|
if [[ -e $HOME/.chefvm && -e $HOME/.chef ]] ; then
|
||||||
|
echo $( cd -P $HOME/.chef ; basename $PWD )
|
||||||
|
fi
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue