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:
parent
10130c560b
commit
de1bf4c132
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user