summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Hartshorne <ben@parse.com>2013-04-01 13:44:53 -0700
committerBen Hartshorne <ben@parse.com>2013-04-01 13:44:53 -0700
commit520b0132e943252409457b550b39d8821663da7a (patch)
tree96f02b3fef23b9a44fc3ea9677d9fe36ac8cec93
parent5c1c536015ea3e87acc19653faf537c0fb22b7ba (diff)
downloadzsh-520b0132e943252409457b550b39d8821663da7a.tar.gz
zsh-520b0132e943252409457b550b39d8821663da7a.tar.bz2
zsh-520b0132e943252409457b550b39d8821663da7a.zip
adding docs about knife path config variables
-rw-r--r--plugins/knife/_knife5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/knife/_knife b/plugins/knife/_knife
index ca6347957..9f5b406af 100644
--- a/plugins/knife/_knife
+++ b/plugins/knife/_knife
@@ -1,5 +1,10 @@
#compdef knife
+# You can override the path to knife.rb and your cookbooks by setting
+# KNIFE_CONF_PATH=/path/to/my/.chef/knife.rb
+# KNIFE_COOKBOOK_PATH=/path/to/my/chef/cookbooks
+# Read around where these are used for more detail.
+
# These flags should be available everywhere according to man knife
knife_general_flags=( --help --server-url --key --config --editor --format --log_level --logfile --no-editor --user --print-after --version --yes )