diff options
author | Tensibai <tensibai@iabis.net> | 2019-09-26 14:43:19 +0200 |
---|---|---|
committer | Tensibai <tensibai@iabis.net> | 2019-09-26 17:11:24 +0200 |
commit | a6d32a9b9e69aa8b5e0a37f6555c5c5b639b36c2 (patch) | |
tree | 2da5ba50f68481683ffe412097a148b0905d23e8 /lib/chef/shell.rb | |
parent | 49ff9da07c01255c36650ca55874ac067c0e68bd (diff) | |
download | chef-a6d32a9b9e69aa8b5e0a37f6555c5c5b639b36c2.tar.gz |
Fix some places where constants from dist.rb were not used. Specifically for chef-shell
Signed-off-by: Tensibai <tensibai@iabis.net>
Diffstat (limited to 'lib/chef/shell.rb')
-rw-r--r-- | lib/chef/shell.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/shell.rb b/lib/chef/shell.rb index d81b2eb910..68c286abb1 100644 --- a/lib/chef/shell.rb +++ b/lib/chef/shell.rb @@ -121,11 +121,11 @@ module Shell irb_conf[:IRB_RC] = lambda do |conf| m = conf.main - conf.prompt_c = "chef#{leader(m)} > " + conf.prompt_c = "#{Chef::Dist::EXEC}#{leader(m)} > " conf.return_format = " => %s \n" - conf.prompt_i = "chef#{leader(m)} (#{Chef::VERSION})> " - conf.prompt_n = "chef#{leader(m)} ?> " - conf.prompt_s = "chef#{leader(m)}%l> " + conf.prompt_i = "#{Chef::Dist::EXEC}#{leader(m)} (#{Chef::VERSION})> " + conf.prompt_n = "#{Chef::Dist::EXEC}#{leader(m)} ?> " + conf.prompt_s = "#{Chef::Dist::EXEC}#{leader(m)}%l> " conf.use_tracer = false end end |