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/special.sh | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 hyperterm/themes/special.sh (limited to 'hyperterm/themes/special.sh') diff --git a/hyperterm/themes/special.sh b/hyperterm/themes/special.sh new file mode 100644 index 0000000..3820573 --- /dev/null +++ b/hyperterm/themes/special.sh @@ -0,0 +1,39 @@ +#!/bin/bash +# shellcheck disable=SC1117 + +unset special + +# Import colors +_colors_bash "$@" + +_prompt_local_name() { + case ${LANG/_*/} in + es) + printf "UbicaciĆ³n Actual:" + ;; + *) + printf "Current Location:" + ;; + esac +} + +special=("\n\ +\[$RESET\]\ +\[${BOLD}${YELLOW}\][$(_prompt_local_name)\ +\[$RESET\] \[${BOLD}${GREY}\]\w\ +\[${BOLD}${YELLOW}\]]\[$RESET\] \ +\[${BOLD}${CYAN}\]hist:\!\[$RESET\]\n\ +\[${BOLD}${GREY}\]\ +\D{%Y-%m-%d}@\D{%I:%M%p}\[$RESET\] \ +\$(exitstatus)\[$_PROMPT_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 special + +unset _psi +: "${_psi:=\[${BOLD}${CYAN}\]=>\[$RESET\] }" -- cgit v1.2.3