1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

Fixed $TERMINAL containing name of shell

This commit is contained in:
Dimitri Bohlender 2017-10-17 21:57:59 +02:00
parent 5037eea952
commit e86a1d2d4d

View File

@ -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