blob: 5fadaa0d95a6c40495a38ad5b365c70a685cf02b (
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
|
#!/bin/bash
# shellcheck disable=SC2034,SC2154
unset light_theme
# Import colors
_colors_bash "$@"
PROMPT_COMMAND='
last_status=$?
ps1_status="$(exitstatus "$last_status")"
ps1_git="$(__prompt_git)"
'
light_theme="\n\
\[$RESET\]\
\[${BOLD}${CYAN}\]┌─\[$RESET\]\
\[${BOLD}${YELLOW}\]\u\[$RESET\]\
\[${BOLD}${CYAN}\]@\[$RESET\]\
\[${BOLD}${GREY}\]\h\[$RESET\] \
\${ps1_status}\[$RESET\] \
\[${BOLD}${WHITE}\][\$PWD]\
\${ps1_git}\
\n\[${BOLD}${CYAN}\]╰─➤\[${BOLD}${GREEN}\]$SYMBOL \[$RESET\]"
unset _psi
: "${_psi:=\[${BOLD}${CYAN}\]=>\[$RESET\] }"
|