aboutsummaryrefslogtreecommitdiffstats
path: root/hyperterm/themes/pure.sh
blob: a4fbdb3d783276b24b2422d12ad252fd1a01eda1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

unset pure

# Import colors
_colors_bash "$@"

: "${pure:=\
\[${BOLD}${GREEN}\]\u\[$RESET\] \
\[${BOLD}${YELLOW}\][\
\[${BOLD}${RED}\]\w\
\[${BOLD}${YELLOW}\]]\[$RESET\] \
\$(exitstatus)\[$RESET\] \
\[${BOLD}${BLUE}\](\$(date +%H:%M:%S))\
\$( _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}${CYAN}\]$SYMBOL \[$RESET\]}"

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