-
Notifications
You must be signed in to change notification settings - Fork 596
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
github-actions[bot]
committed
Feb 9, 2024
1 parent
a62805e
commit eae7348
Showing
4 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#!/usr/bin/env bash | ||
|
||
export PROFILE_NAME="Butrin" | ||
|
||
export COLOR_01="#8C7E78" # Black (Host) | ||
export COLOR_02="#E68A8A" # Red (Syntax string) | ||
export COLOR_03="#99CC99" # Green (Command) | ||
export COLOR_04="#FAD7A0" # Yellow (Command second) | ||
export COLOR_05="#6699CC" # Blue (Path) | ||
export COLOR_06="#C8A2C8" # Magenta (Syntax var) | ||
export COLOR_07="#6FC3B2" # Cyan (Prompt) | ||
export COLOR_08="#E2CEBE" # White | ||
|
||
export COLOR_09="#BFACA4" # Bright Black | ||
export COLOR_10="#F2B1B1" # Bright Red (Command error) | ||
export COLOR_11="#B2D8B2" # Bright Green (Exec) | ||
export COLOR_12="#F7DCB4" # Bright Yellow | ||
export COLOR_13="#87CEFA" # Bright Blue (Folder) | ||
export COLOR_14="#D8BFD8" # Bright Magenta | ||
export COLOR_15="#64DBDB" # Bright Cyan | ||
export COLOR_16="#F2F2F2" # Bright White | ||
|
||
export BACKGROUND_COLOR="#4B3B3C" # Background | ||
export FOREGROUND_COLOR="#F2F2F2" # Foreground (Text) | ||
|
||
export CURSOR_COLOR="#E39D93" # Cursor | ||
|
||
# | =========================================================================== | ||
# | Apply Colors | ||
# | =========================================================================== | ||
SCRIPT_PATH="${SCRIPT_PATH:-$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)}" | ||
PARENT_PATH="$(dirname "${SCRIPT_PATH}")" | ||
|
||
# Allow developer to change url to forked url for easier testing | ||
# IMPORTANT: Make sure you export this variable if your main shell is not bash | ||
BASE_URL=${BASE_URL:-"https://raw.githubusercontent.com/Gogh-Co/Gogh/master"} | ||
|
||
|
||
if [[ -e "${PARENT_PATH}/apply-colors.sh" ]]; then | ||
bash "${PARENT_PATH}/apply-colors.sh" | ||
else | ||
if [[ "$(uname)" = "Darwin" ]]; then | ||
# OSX ships with curl and ancient bash | ||
bash -c "$(curl -so- "${BASE_URL}/apply-colors.sh")" | ||
else | ||
# Linux ships with wget | ||
bash -c "$(wget -qO- "${BASE_URL}/apply-colors.sh")" | ||
fi | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"color_01": "#8C7E78", "color_02": "#E68A8A", "color_03": "#99CC99", "color_04": "#FAD7A0", "color_05": "#6699CC", "color_06": "#C8A2C8", "color_07": "#6FC3B2", "color_08": "#E2CEBE", "color_09": "#BFACA4", "color_10": "#F2B1B1", "color_11": "#B2D8B2", "color_12": "#F7DCB4", "color_13": "#87CEFA", "color_14": "#D8BFD8", "color_15": "#64DBDB", "color_16": "#F2F2F2", "name": "Butrin", "foreground": "#F2F2F2", "background": "#4B3B3C", "cursor": "#E39D93", "hash": "1df99eb5a5bb3864d895033b43c50ddf520f4a2310e0c5f596f208030bf79523"} |