1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

OSX requires themes scripts to use curl & bash 3

This commit is contained in:
Dimitri Bohlender 2017-10-21 01:58:17 +02:00
parent 10130c560b
commit de1bf4c132
162 changed files with 2430 additions and 162 deletions

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -42,6 +42,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -52,6 +59,13 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -51,5 +58,12 @@ source $PARENT_PATH"/apply-colors.sh"
else
gogh_colors
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

View File

@ -41,6 +41,13 @@ function gogh_colors () {
echo ""
}
function curlsource() {
f=$(mktemp -t curlsource)
curl -o "$f" -s -L "$1"
source "$f"
rm -f "$f"
}
SCRIPT_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PARENT_PATH="$(dirname "$SCRIPT_PATH")"
@ -48,5 +55,12 @@ gogh_colors
if [ -e $PARENT_PATH"/apply-colors.sh" ]; then
source $PARENT_PATH"/apply-colors.sh"
else
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
if [ $(uname) = "Darwin" ]; then
# OSX ships with curl and ancient bash
# Note: here, sourcing directly from curl does not work
curlsource https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh
else
# Linux ships with wget
source <(wget -O - https://raw.githubusercontent.com/Mayccoll/Gogh/master/apply-colors.sh)
fi
fi

Some files were not shown because too many files have changed in this diff Show More