mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
Adding basic autocomplete and helper for displaying chefvm in prompt
This commit is contained in:
parent
c2ae9e09ca
commit
501a3f63f6
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