summaryrefslogtreecommitdiff
path: root/lib/chef/shell.rb
diff options
context:
space:
mode:
authorTensibai <tensibai@iabis.net>2019-09-26 14:43:19 +0200
committerTensibai <tensibai@iabis.net>2019-09-26 17:11:24 +0200
commita6d32a9b9e69aa8b5e0a37f6555c5c5b639b36c2 (patch)
tree2da5ba50f68481683ffe412097a148b0905d23e8 /lib/chef/shell.rb
parent49ff9da07c01255c36650ca55874ac067c0e68bd (diff)
downloadchef-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.rb8
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