From a274273caa9be38cfc8647b7317b580985da9fa4 Mon Sep 17 00:00:00 2001 From: hophacker Date: Wed, 10 Apr 2019 18:36:21 +0800 Subject: [PATCH] [Install] Prevent empty SHELL failing installation --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 199959c..6744120 100644 --- a/Rakefile +++ b/Rakefile @@ -302,7 +302,7 @@ def install_prezto run %{ mkdir -p $HOME/.zsh.after } run %{ mkdir -p $HOME/.zsh.prompts } - if ENV["SHELL"].include? 'zsh' then + if "#{ENV['SHELL']}".include? 'zsh' then puts "Zsh is already configured as your shell of choice. Restart your session to load the new settings" else puts "Setting zsh as your default shell"