From 125f57f0c3d6f9d578b37467ace994afe22a8478 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Thu, 26 Aug 2021 23:39:42 -0500 Subject: Add new state git --- hyperterm/core/git.sh | 4 +++- hyperterm/hyperterm.sha512 | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'hyperterm') diff --git a/hyperterm/core/git.sh b/hyperterm/core/git.sh index 8a43845..79fea14 100644 --- a/hyperterm/core/git.sh +++ b/hyperterm/core/git.sh @@ -257,6 +257,7 @@ function _prompt_get_git_status() { 100111111) printf '%s' "${__ps}${__ahs}$count_ahead${__ps}${__bhs}$count_behind";; 110111111) printf '%s%s' "${__upulls}" "$count_behind";; 101111111) printf '%s%s' "${__ahs}" "$count_ahead";; + 111001111) printf '%s%s' "${__ps}${__duus}${__stusts}" "$count_dirty";; 010111111) printf '%s%s%s' "${__duplls}" "$count_behind" "$count_dirty";; 001111111) printf '%s%s%s' "${__duphs}" "$count_ahead" "$count_dirty";; 000111111) printf '%s%s%s' "${__duus}" "$count_behind-$count_ahead" "$count_dirty";; @@ -295,6 +296,7 @@ function _prompt_get_git_status() { 011010000) printf '%s%s' "${__ps}${__dss}${__sts}${__nfs}${__uts}${__dfs}${__rns}" "$count_dirty";; 011001010) printf '%s%s' "${__ps}${__dss}${__stusts}${__uts}${__rns}" "$count_dirty";; 011001000) printf '%s%s' "${__ps}${__dss}${__stusts}${__uts}${__dfs}${__rns}" "$count_dirty";; + 011000011) printf '%s%s' "${__ps}${__dss}${__stusts}${__nfs}${__uts}" "$count_dirty";; 011000110) printf '%s%s' "${__ps}${__dss}${__stusts}${__nfs}${__rns}" "$count_dirty";; 011000010) printf '%s%s' "${__ps}${__dss}${__stusts}${__nfs}${__uts}${__rns}" "$count_dirty";; 011000000) printf '%s%s' "${__ps}${__dss}${__stusts}${__nfs}${__uts}${__dfs}${__rns}" "$count_dirty";; @@ -321,7 +323,6 @@ function _prompt_get_git_status() { 001111011) printf '%s%s' "${__ps}${__duus}${__uts}" "$count_dirty";; 001101001) printf '%s%s' "${__ps}${__duus}${__usts}${__uts}${__dfs}" "$count_dirty";; 001101101) printf '%s%s' "${__ps}${__duus}${__usts}${__dfs}" "$count_dirty";; - 111001111) printf '%s%s' "${__ps}${__duus}${__stusts}" "$count_dirty";; 001111110) printf '%s%s' "${__ps}${__duus}${__rns}" "$count_dirty";; 001110110) printf '%s%s' "${__ps}${__duus}${__nfs}${__rns}" "$count_dirty";; 001110010) printf '%s%s' "${__ps}${__duus}${__nfs}${__uts}${__rns}" "$count_dirty";; @@ -329,6 +330,7 @@ function _prompt_get_git_status() { 001010000) printf '%s%s' "${__ps}${__duus}${__sts}${__nfs}${__uts}${__dfs}${__rns}" "$count_dirty";; 001001010) printf '%s%s' "${__ps}${__duus}${__stusts}${__uts}${__rns}" "$count_dirty";; 001001000) printf '%s%s' "${__ps}${__duus}${__stusts}${__uts}${__dfs}${__rns}" "$count_dirty";; + 011000011) printf '%s%s' "${__ps}${__duus}${__stusts}${__nfs}${__uts}" "$count_dirty";; 001000110) printf '%s%s' "${__ps}${__duus}${__stusts}${__nfs}${__rns}" "$count_dirty";; 001000010) printf '%s%s' "${__ps}${__duus}${__stusts}${__nfs}${__uts}${__rns}" "$count_dirty";; 001000000) printf '%s%s' "${__ps}${__duus}${__stusts}${__nfs}${__uts}${__dfs}${__rns}" "$count_dirty";; diff --git a/hyperterm/hyperterm.sha512 b/hyperterm/hyperterm.sha512 index 885782f..1cf3ddc 100644 --- a/hyperterm/hyperterm.sha512 +++ b/hyperterm/hyperterm.sha512 @@ -13,7 +13,7 @@ fab9d339a99c7d2e1809d1c44f533523c6bfcdcc8d63c62b335ce7d4c666c8bdd7ac319316bf71f0 1273dbe1fcfab9737d377e8666de47aef4a6d564a9a7c35816d6a91c345238bb19335572c89ff024d6d68213de3b4d9da665582c123fc42e51c37ad46aace3d8 ./tools/network.sh 7447d3e167ab207d3ef4218e201a06bf5a3fc23281639f16f7f405f1d66b73923845d450fdb0a94672757866a9da0324f728564a1b61b2ed1678fe576eb565cf ./core/autocomplete.sh 065cfa39f1b4312ed275ad1039827a24f703176c653a8d27303d145f9d389a60ec5b3a9eb167e060cc6fd093b9c03cfb1a8b70254d444fbc6e62e2297d88b310 ./core/status.sh -cea39ec70489a3aa96ea17047b861e125e29358adc00f79378667d733e8639c4c6ef825ded21825407d81adc92f7fecb26425880127496a51ecd4da7ea262080 ./core/git.sh +ae21ed97801858792f8ae28c3294703e14ac227fcdb9472340bb6c75a2aec2ed27943f7116114ecbf16b612e61c02d71ca373cee0eb54d63236a34c624cec5af ./core/git.sh 915196c638ac432a0eccb4cd127af14398385cb7094b3f6142adc21e4c4f155214ead74511f21b6acf20d2edad8934e893a8900ceafc59df8e66bc789095d58c ./core/update.sh f3e00b2aa8ab9f3ab44570adaa2520408ed66fd00f551654d60b64a4be3546ec781b7efa39bcd774937e654b6ffb4c7af3f21eeb36caf9c01f82f85cf28e2b4d ./core/languages.sh 1cfba599047d84a17ff92b695ebf527a505a30acc9ec21a2b9f410a7ea6dde4b23b5cf62e557d82f2fe9a8980649942424b879ca53baae4d4cb3057681baa7b6 ./core/colors.sh -- cgit v1.2.3