aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hyperterm/core/git.sh17
-rw-r--r--hyperterm/hyperterm.sha5122
2 files changed, 8 insertions, 11 deletions
diff --git a/hyperterm/core/git.sh b/hyperterm/core/git.sh
index 7213b14..b1fa140 100644
--- a/hyperterm/core/git.sh
+++ b/hyperterm/core/git.sh
@@ -15,8 +15,8 @@ function _symbols() {
__duplls="$(printf '%b%b' "${BOLD}${RED}" "\xE2\x96\xBC")" # ▼
__duus="$(printf '%b%b%b' "${BOLD}${CYAN}" "\x64" "\x75")" # du
__upulls="$(printf '%b%b' "${BOLD}${GREEN}" "\xE2\x96\xBD")" # ▽
- __sts="$(printf '%b%b%b' "${BOLD}${CYAN}" "\xE2\x86\x92" "\x40")" # →M
- __usts="$(printf '%b%b%b' "${BOLD}${RED}" "\xE2\x86\x90" "\x40")" # ←M
+ __sts="$(printf '%b%b%b' "${BOLD}${CYAN}" "\xE2\x86\x92" "\x4D")" # →M
+ __usts="$(printf '%b%b%b' "${BOLD}${RED}" "\xE2\x86\x90" "\x4D")" # ←M
__stusts="$(printf '%b%b%b%b' "${BOLD}${RED}" "\x3C" "\x4D" "\x3E")" # <M>
__uts="$(printf '%b%b' "${BOLD}${RED}" "\x3F")" # ?
__nfs="$(printf '%b%b' "${BOLD}${CYAN}" "\x2B")" # +
@@ -350,19 +350,16 @@ _prompt_get_git_info() {
# Import colors
_colors_bash "$@"
- # Grab the branch
- branch="$(_get_git_branch)"
+ # Grab icon and branch
+ branch=$(printf '%b' "\xEE\x82\xA0")
+ branch+=$(_get_git_branch)
# If there are any branches
if [[ -n $branch ]]; then
- # Printf the branch
- output="$branch"
-
# Add on the git status
- output="$output$(_prompt_get_git_status "$@")"
-
+ output=$(_prompt_get_git_status "$@")
# Printf our output
- printf '%b%s%b' "${BOLD}${LEMON}" "git:($output" "${BOLD}${LEMON})"
+ printf '%b%s%b' "${BOLD}${LEMON}" "git:($branch$output" "${BOLD}${LEMON})"
fi
}
diff --git a/hyperterm/hyperterm.sha512 b/hyperterm/hyperterm.sha512
index 4b1d0de..189bd84 100644
--- a/hyperterm/hyperterm.sha512
+++ b/hyperterm/hyperterm.sha512
@@ -13,7 +13,7 @@ fab9d339a99c7d2e1809d1c44f533523c6bfcdcc8d63c62b335ce7d4c666c8bdd7ac319316bf71f0
6f3aaa2ab53b33e3505d46d78040bab66c583986583d67e0712fdad06d78ad0608cc2606f639d128e8013177ea9cf07b7cf4c65758a750529d724bc3bdeb5be0 ./tools/network.sh
7447d3e167ab207d3ef4218e201a06bf5a3fc23281639f16f7f405f1d66b73923845d450fdb0a94672757866a9da0324f728564a1b61b2ed1678fe576eb565cf ./core/autocomplete.sh
065cfa39f1b4312ed275ad1039827a24f703176c653a8d27303d145f9d389a60ec5b3a9eb167e060cc6fd093b9c03cfb1a8b70254d444fbc6e62e2297d88b310 ./core/status.sh
-cd0700ade74313e018476fb2eb033cc31dbcf045dfe0e1b07cbae34f06a38d850ee242551d95defcee8ee61955e25489a0b8be2467d859627e45b3e4faf69f58 ./core/git.sh
+b5260fc00ac51883ada0ddb50937c747dc82efc4ed12a5950dd726a3f926f98ca01101e00b913071788f98fa7c622b9b38ac09f1164f66e213750ec85bcecbb1 ./core/git.sh
915196c638ac432a0eccb4cd127af14398385cb7094b3f6142adc21e4c4f155214ead74511f21b6acf20d2edad8934e893a8900ceafc59df8e66bc789095d58c ./core/update.sh
f3e00b2aa8ab9f3ab44570adaa2520408ed66fd00f551654d60b64a4be3546ec781b7efa39bcd774937e654b6ffb4c7af3f21eeb36caf9c01f82f85cf28e2b4d ./core/languages.sh
1cfba599047d84a17ff92b695ebf527a505a30acc9ec21a2b9f410a7ea6dde4b23b5cf62e557d82f2fe9a8980649942424b879ca53baae4d4cb3057681baa7b6 ./core/colors.sh