blob: c15700d9d116a7f00607a44c67ccc28ec33ac602 (
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
|
#!/bin/bash
unset joy
# Import colors
_colors_bash "$@"
: "${joy:=\n\
\[${BOLD}${CYAN}\]\342\224\214\342\224\200[\
\[${BOLD}${YELLOW}\]\u\
\[${BOLD}${CYAN}\]@\
\[${BOLD}${GREY}\]\h\
\[${BOLD}${CYAN}\]]\
\342\224\200[\
\[${RESET}\]\w\
\[${BOLD}${CYAN}\]]\
\342\224\200\
\$(exitstatus)\
\[${BOLD}${CYAN}\]\
\342\224\200\
\$( _prompt_is_on_git &> /dev/null && \
echo -n \"\[$RESET\]\" && \
echo -n \"\$(_prompt_get_git_info)\" && \
echo -n \"\[${BOLD}${RED}\]\$(_get_git_progress)\" && \
echo -n \"\[$RESET\]\")\
\[${BOLD}${CYAN}\]\342\224\200[\
\[${RESET}\]\t\
\[${BOLD}${CYAN}\]]\n\
\[${BOLD}${CYAN}\]\342\224\224\342\224\200\342\224\200\342\225\274\
\[${BOLD}${GREEN}\] $SYMBOL \[$RESET\]}"
unset _psi
: "${_psi:=\[${BOLD}${CYAN}\]=>\[$RESET\] }"
|