From cbc65039ddabd87ef44712229883db2590ec7222 Mon Sep 17 00:00:00 2001 From: jakepintu Date: Tue, 17 Sep 2019 12:38:09 +0530 Subject: [PATCH] Fix typo --- gogh.sh | 2 +- themes/palenight.sh | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) 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