Merge pull request #228 from alikaragoz/master

Fix issue to take into account the ASK environnement variable
This commit is contained in:
Yan Pritzker 2013-01-02 08:24:19 -08:00
commit da37a32f4b

View File

@ -129,7 +129,7 @@ def install_prezto
end
def want_to_install? (section)
if ENV["ask"]=="true"
if ENV["ASK"]=="true"
puts "Would you like to install configuration files for: #{section}? [y]es, [n]o"
STDIN.gets.chomp == 'y'
else