diff options
author | Jesús <heckyel@hyperbola.info> | 2021-02-10 13:52:52 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-02-10 13:52:52 -0500 |
commit | 7e95c3b667a1b353f8275db886203f272bfcce34 (patch) | |
tree | aefe3b7db69ac78b83b79a70cf43401679812d20 /hyperterm/themes/joy.sh | |
download | hyperterm-7e95c3b667a1b353f8275db886203f272bfcce34.tar.lz hyperterm-7e95c3b667a1b353f8275db886203f272bfcce34.tar.xz hyperterm-7e95c3b667a1b353f8275db886203f272bfcce34.zip |
first commit
Diffstat (limited to 'hyperterm/themes/joy.sh')
-rw-r--r-- | hyperterm/themes/joy.sh | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/hyperterm/themes/joy.sh b/hyperterm/themes/joy.sh new file mode 100644 index 0000000..c15700d --- /dev/null +++ b/hyperterm/themes/joy.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +unset joy + +# Import colors +_colors_bash "$@" + +: "${joy:=\n\ +\[${BOLD}${CYAN}\]\342\224\214\342\224\200[\ +\[${BOLD}${YELLOW}\]\u\ +\[${BOLD}${CYAN}\]@\ +\[${BOLD}${GREY}\]\h\ +\[${BOLD}${CYAN}\]]\ +\342\224\200[\ +\[${RESET}\]\w\ +\[${BOLD}${CYAN}\]]\ +\342\224\200\ +\$(exitstatus)\ +\[${BOLD}${CYAN}\]\ +\342\224\200\ +\$( _prompt_is_on_git &> /dev/null && \ + echo -n \"\[$RESET\]\" && \ + echo -n \"\$(_prompt_get_git_info)\" && \ + echo -n \"\[${BOLD}${RED}\]\$(_get_git_progress)\" && \ + echo -n \"\[$RESET\]\")\ +\[${BOLD}${CYAN}\]\342\224\200[\ +\[${RESET}\]\t\ +\[${BOLD}${CYAN}\]]\n\ +\[${BOLD}${CYAN}\]\342\224\224\342\224\200\342\224\200\342\225\274\ +\[${BOLD}${GREEN}\] $SYMBOL \[$RESET\]}" + +unset _psi +: "${_psi:=\[${BOLD}${CYAN}\]=>\[$RESET\] }" |