From de61c55ce1de343cf3fe867735d70e157a01ea13 Mon Sep 17 00:00:00 2001 From: Joel Kuzmarski Date: Thu, 18 Aug 2016 03:56:26 -0500 Subject: [PATCH] Set $SHELL to correct value after install This fixes a problem where $SHELL would equal f.ex /bin/bash after running env zsh, breaking scripts that rely on $SHELL being set. --- tools/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/install.sh b/tools/install.sh index 3f4de8681..9137a2686 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -110,7 +110,7 @@ main() { echo 'p.p.s. Get stickers and t-shirts at http://shop.planetargon.com.' echo '' printf "${NORMAL}" - env zsh + env SHELL=$(which zsh) zsh } main