mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
fix(knife): make autocomplete for cookbooks works
This commit is contained in:
parent
d2725d44fc
commit
f4f647a8c9
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ _chef_cookbooks_local() {
|
|||
fi
|
||||
local cookbook_path=${KNIFE_COOKBOOK_PATH:-$(grep cookbook_path $knife_rb | awk 'BEGIN {FS = "[" }; {print $2}' | sed 's/\,//g' | sed "s/'//g" | sed 's/\(.*\)]/\1/' )}
|
||||
fi
|
||||
(for i in $cookbook_path; do ls $i; done)
|
||||
(for i in $(echo $cookbook_path); do ls $i; done)
|
||||
}
|
||||
|
||||
# This function extracts the available cookbook versions on the chef server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue