diff options
author | Jesús <heckyel@hyperbola.info> | 2021-08-17 16:26:03 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-08-17 16:26:03 -0500 |
commit | baefc5c6f9e65806452aa7258825b1852959c1f5 (patch) | |
tree | ffe76a3cc655eddcf0bc9e626d964a809f7b76d3 /hyperterm/themes | |
parent | 7a1004b72b8bc738cad56abc212a82cddd1caad0 (diff) | |
download | hyperterm-baefc5c6f9e65806452aa7258825b1852959c1f5.tar.lz hyperterm-baefc5c6f9e65806452aa7258825b1852959c1f5.tar.xz hyperterm-baefc5c6f9e65806452aa7258825b1852959c1f5.zip |
simply __prompt_git
Diffstat (limited to 'hyperterm/themes')
-rw-r--r-- | hyperterm/themes/default.sh | 6 | ||||
-rw-r--r-- | hyperterm/themes/joy.sh | 6 | ||||
-rw-r--r-- | hyperterm/themes/light_theme.sh | 6 | ||||
-rw-r--r-- | hyperterm/themes/minterm.sh | 6 | ||||
-rw-r--r-- | hyperterm/themes/pure.sh | 6 | ||||
-rw-r--r-- | hyperterm/themes/special.sh | 6 |
6 files changed, 6 insertions, 30 deletions
diff --git a/hyperterm/themes/default.sh b/hyperterm/themes/default.sh index 24843e8..8d2f026 100644 --- a/hyperterm/themes/default.sh +++ b/hyperterm/themes/default.sh @@ -14,11 +14,7 @@ default=("\n\ \[$RESET\]\ \[${BOLD}${WHITE}\][\$PWD]\[$RESET\] \ \$(exitstatus)\[$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\]\")\ +\$(__prompt_git)\ \n\[${BOLD}${GREEN}\]$SYMBOL \[$RESET\]") export default diff --git a/hyperterm/themes/joy.sh b/hyperterm/themes/joy.sh index c15700d..0f5e8ee 100644 --- a/hyperterm/themes/joy.sh +++ b/hyperterm/themes/joy.sh @@ -18,11 +18,7 @@ _colors_bash "$@" \$(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\]\")\ +\$(__prompt_git)\ \[${BOLD}${CYAN}\]\342\224\200[\ \[${RESET}\]\t\ \[${BOLD}${CYAN}\]]\n\ diff --git a/hyperterm/themes/light_theme.sh b/hyperterm/themes/light_theme.sh index 775f5f7..c269aaa 100644 --- a/hyperterm/themes/light_theme.sh +++ b/hyperterm/themes/light_theme.sh @@ -13,11 +13,7 @@ _colors_bash "$@" \[${BOLD}${GREY}\]\h\[$RESET\] \ \$(exitstatus)\[$RESET\] \ \[${BOLD}${WHITE}\][\$PWD]\ -\$( _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\]\")\ +\$(__prompt_git)\ \n\[${BOLD}${CYAN}\]╰─➤\[${BOLD}${GREEN}\]$SYMBOL \[$RESET\]}" unset _psi diff --git a/hyperterm/themes/minterm.sh b/hyperterm/themes/minterm.sh index 62e3ae7..139094a 100644 --- a/hyperterm/themes/minterm.sh +++ b/hyperterm/themes/minterm.sh @@ -12,11 +12,7 @@ _colors_bash "$@" \[${BOLD}${GREY}\]\h\[$RESET\] \ \$(exitstatus)\[$RESET\] \ \[${BOLD}${WHITE}\][\$PWD]\ -\$( _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\ +\$(__prompt_git)\n\ \[${BOLD}${CYAN}\]╰─➤\[$RESET\] \ \$( echo -n \"\[${BOLD}${GREY}\]\$(date +%H:%M)\" )\[$RESET\] \ \[${BOLD}${GREEN}\]$SYMBOL \[$RESET\]}" diff --git a/hyperterm/themes/pure.sh b/hyperterm/themes/pure.sh index a4fbdb3..62958de 100644 --- a/hyperterm/themes/pure.sh +++ b/hyperterm/themes/pure.sh @@ -12,11 +12,7 @@ _colors_bash "$@" \[${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\]\")\ +\$(__prompt_git)\ \n\[${BOLD}${CYAN}\]$SYMBOL \[$RESET\]}" unset _psi diff --git a/hyperterm/themes/special.sh b/hyperterm/themes/special.sh index 3820573..08b2f87 100644 --- a/hyperterm/themes/special.sh +++ b/hyperterm/themes/special.sh @@ -26,11 +26,7 @@ special=("\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\ +\$(__prompt_git)\n\ \[${BOLD}${GREEN}\]$SYMBOL \[$RESET\]") export special |