From 943e9b5da539a70ea78d04700d03b9a8d3162583 Mon Sep 17 00:00:00 2001 From: Mark Riedesel Date: Fri, 19 Jul 2019 14:45:48 -0500 Subject: [PATCH] add option to specify git branch and fix colors --- _install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_install.sh b/_install.sh index d05e507..bc6b819 100755 --- a/_install.sh +++ b/_install.sh @@ -5,7 +5,7 @@ basedir=$homedir/.dotfiles bindir=$homedir/bin gitbase=git://github.com/Klowner/dotfiles.git gitorigin=git@github.com:Klowner/dotfiles.git -gitbranch=refresh +gitbranch=${GIT_BRANCH:-master} tarball=http://github.com/Klowner/dotfiles/tarball/$gitbranch function has() { @@ -13,11 +13,11 @@ function has() { } function note() { - echo "^[[32;1m * ^[[0m$*" + echo -e "\e[32;1m * \e[0m$*" } function warn() { - echo "^[[31;1m * ^[[0m$*" + echo -e "\e[31;1m * \e[0m$*" } function die() {