mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-12-07 00:18:45 +08:00
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.
This commit is contained in:
1 parent
31ec2904f0
commit
3c833c6491
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user