aboutsummaryrefslogtreecommitdiffstats
path: root/hyperterm/themes/special.sh
blob: 08b2f87b7f4e99078f5c138f05e986bd2c624f0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/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_git)\n\
\[${BOLD}${GREEN}\]$SYMBOL \[$RESET\]")

export special

unset _psi
: "${_psi:=\[${BOLD}${CYAN}\]=>\[$RESET\] }"