1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00
This commit is contained in:
jakepintu 2019-09-17 12:38:09 +05:30
parent 6ce09bc5b0
commit cbc65039dd
2 changed files with 9 additions and 9 deletions

View File

@ -132,7 +132,7 @@ declare -a THEMES=(
'one-dark.sh'
'one-half-black.sh'
'one-light.sh'
'palenight'
'palenight.sh'
'pali.sh'
'papercolor-dark.sh'
'papercolor-light.sh'

View File

@ -42,14 +42,14 @@ PARENT_PATH="$(dirname "${SCRIPT_PATH}")"
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Mayccoll/Gogh/master"}
if [[ -e "${PARENT_PATH}/apply-colors.sh" ]]; then
bash "${PARENT_PATH}/apply-colors.sh"
else
if [[ "$(uname)" = "Darwin" ]]; then
#if [[ -e "${PARENT_PATH}/apply-colors.sh" ]]; then
# bash "${PARENT_PATH}/apply-colors.sh"
#else
# if [[ "$(uname)" = "Darwin" ]]; then
# OSX ships with curl and ancient bash
bash -c "$(curl -so- "${BASE_URL}/apply-colors.sh")"
else
# bash -c "$(curl -so- "${BASE_URL}/apply-colors.sh")"
# else
# Linux ships with wget
bash -c "$(wget -qO- "${BASE_URL}/apply-colors.sh")"
fi
fi
# fi
#fi