mirror of
https://github.com/Mayccoll/Gogh.git
synced 2023-08-10 21:12:46 +03:00
fix typos and profile names
This commit is contained in:
parent
6ddda89036
commit
33d9555994
@ -2,7 +2,11 @@
|
|||||||
|
|
||||||
|
|
||||||
function set_gogh () {
|
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 "
|
echo -e "
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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
|
wget -O gogh https://raw.githubusercontent.com/Mayccoll/Gogh/master/themes/$1 && chmod +x gogh && ./gogh && rm gogh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user