eval $(cinc shell-init) produces unsightly warnings
Nothing serious
When I include eval "$(cinc shell-init zsh) in my ~/.zshrc I get some unsightly warning that my colleagues laugh at when I screenshare and open a new shell.
The output is as follows:-
/opt/cinc-workstation/embedded/lib/ruby/gems/3.1.0/gems/chef-cli-5.6.8/lib/chef-cli/command/shell_init.rb:125: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
/opt/cinc-workstation/embedded/lib/ruby/gems/3.1.0/gems/chef-cli-5.6.8/lib/chef-cli/command/shell_init.rb:125: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.
Environment
- zsh 5.9
- oh-my-zsh b4f9698
- OSX Ventura 13.3