fix typos and profile names

This commit is contained in:
mquintero 2017-05-19 16:55:07 -05:00
parent 6ddda89036
commit 33d9555994
2 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,11 @@
function set_gogh () {
export {PROFILE_NAME,PROFILE_SLUG}=$1 && wget -O gogh https://raw.githubusercontent.com/Mayccoll/Gogh/master/themes/$1 && chmod +x gogh && ./gogh && rm gogh
string=$1
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
}
echo -e "

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
function set_gogh () {
function set_gogh () {
wget -O gogh https://raw.githubusercontent.com/Mayccoll/Gogh/master/themes/$1 && chmod +x gogh && ./gogh && rm gogh
}