From 7e95c3b667a1b353f8275db886203f272bfcce34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Wed, 10 Feb 2021 13:52:52 -0500 Subject: first commit --- hyperterm/themes/default.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 hyperterm/themes/default.sh (limited to 'hyperterm/themes/default.sh') diff --git a/hyperterm/themes/default.sh b/hyperterm/themes/default.sh new file mode 100644 index 0000000..24843e8 --- /dev/null +++ b/hyperterm/themes/default.sh @@ -0,0 +1,27 @@ +#!/bin/bash +# shellcheck disable=SC1117 + +unset default + +# Import colors +_colors_bash "$@" + +default=("\n\ +\[$RESET\]\ +\[${BOLD}${YELLOW}\][ \u \ +\[${BOLD}${BLUE}\]| \D{%Y-%m-%d} |\ +\[${BOLD}${RED}\] \D{%I:%M%p} ]\n\ +\[$RESET\]\ +\[${BOLD}${WHITE}\][\$PWD]\[$RESET\] \ +\$(exitstatus)\[$RESET\]\ +\$( _prompt_is_on_git &> /dev/null && \ + echo -n \" \[${BOLD}${WHITE}\]on\[$RESET\] \" && \ + echo -n \"\$(_prompt_get_git_info)\" && \ + echo -n \"\[${BOLD}${RED}\]\$(_get_git_progress)\" && \ + echo -n \"\[$RESET\]\")\ +\n\[${BOLD}${GREEN}\]$SYMBOL \[$RESET\]") + +export default + +unset _psi +: "${_psi:=\[${BOLD}${CYAN}\]=>\[$RESET\] }" -- cgit v1.2.3