summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAmeya Varade <ameya.varade@clogeny.com>2013-07-04 19:33:05 +0530
committeradamedx <adamed@opscode.com>2013-07-11 06:50:27 -0700
commit1643a817a9605fadba11d797d33fc5aa37c72bf3 (patch)
treedc029e7f5d054278d2f94ec15a2d3ebc2ccda0d7 /bin
parent17d2789d4823b026d6ed673b05a13f6586116814 (diff)
downloadchef-1643a817a9605fadba11d797d33fc5aa37c72bf3.tar.gz
disable readline module if Windows box
Diffstat (limited to 'bin')
-rwxr-xr-xbin/chef-shell2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chef-shell b/bin/chef-shell
index c1cd0d4873..29a2cb7746 100755
--- a/bin/chef-shell
+++ b/bin/chef-shell
@@ -32,5 +32,5 @@ $:.unshift(File.expand_path(File.join(File.dirname(__FILE__), "..", "lib")))
require "chef/shell"
#irb --noreadline Don't use Readline extension module
-IRB.conf[:USE_READLINE] = false
+IRB.conf[:USE_READLINE] = false if (ENV['OS'] == 'Windows_NT')
Shell.start