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

Merge pull request #103 from bohlender/master

Fixed $TERMINAL containing name of shell
This commit is contained in:
Mayccoll 2017-10-17 15:34:25 -05:00 committed by GitHub
commit 6301b29669

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