From e86a1d2d4d9d1ddf36e0b7e443fdb41ea3a34b67 Mon Sep 17 00:00:00 2001 From: Dimitri Bohlender Date: Tue, 17 Oct 2017 21:57:59 +0200 Subject: [PATCH] Fixed $TERMINAL containing name of shell --- gogh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gogh.sh b/gogh.sh index f57c0ca..2e67ee3 100755 --- a/gogh.sh +++ b/gogh.sh @@ -168,7 +168,7 @@ set_gogh () { string_r="${string%???}" string_s=${string_r//\./_} result="${string_s^}" - export {PROFILE_NAME,PROFILE_SLUG}=$result && wget -O gogh https://raw.githubusercontent.com/Mayccoll/Gogh/master/themes/$1 && chmod +x gogh && ./gogh && rm gogh + export {PROFILE_NAME,PROFILE_SLUG}=$result && source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/themes/$1) } ### Get length of an array