#!/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\] }"