aboutsummaryrefslogtreecommitdiffstats
path: root/src/_knife
diff options
context:
space:
mode:
authorMark Cornick <mark@markcornick.com>2012-10-02 12:55:08 -0400
committerMark Cornick <mark@markcornick.com>2012-10-02 12:55:08 -0400
commit3c833c64919616db5ed45506cfa27775d5c54760 (patch)
treeaf285722efdf5c91dc71b7225a3cca15fe4df105 /src/_knife
parentUpdate _knife with environment sub-commands (diff)
downloadzsh-completions-3c833c64919616db5ed45506cfa27775d5c54760.tar
zsh-completions-3c833c64919616db5ed45506cfa27775d5c54760.tar.gz
zsh-completions-3c833c64919616db5ed45506cfa27775d5c54760.tar.bz2
zsh-completions-3c833c64919616db5ed45506cfa27775d5c54760.tar.lz
zsh-completions-3c833c64919616db5ed45506cfa27775d5c54760.tar.xz
zsh-completions-3c833c64919616db5ed45506cfa27775d5c54760.tar.zst
zsh-completions-3c833c64919616db5ed45506cfa27775d5c54760.zip
Fix _chef_environments_remote for current knife output
All of these functions need to be fixed, but I'll fix the others in a different branch.
Diffstat (limited to 'src/_knife')
-rw-r--r--src/_knife2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_knife b/src/_knife
index fb2a120..e914160 100644
--- a/src/_knife
+++ b/src/_knife
@@ -183,7 +183,7 @@ _chef_data_bags_remote() {
}
_chef_environments_remote() {
- (knife environment list | grep \" | awk '{print $1}' | awk -F"," '{print $1}' | awk -F"\"" '{print $2}')
+ (knife environment list | awk '{print $1}')
}
# The chef_x_local functions use the knife config to find the paths of relevant objects x to be uploaded to the server