diff --git a/gogh.sh b/gogh.sh index 9b49284..8b71ca7 100755 --- a/gogh.sh +++ b/gogh.sh @@ -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' diff --git a/themes/palenight.sh b/themes/palenight.sh index 4f3f43e..a39ed7c 100644 --- a/themes/palenight.sh +++ b/themes/palenight.sh @@ -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