aboutsummaryrefslogtreecommitdiffstats
path: root/hyperterm/core
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-08-24 11:20:17 -0500
committerJesús <heckyel@hyperbola.info>2021-08-24 11:20:17 -0500
commit21e6d0e7abe785e397b417be2c425e3827f0c733 (patch)
treedb933b88dc91ceb04ef8449b39030a9b338d14ce /hyperterm/core
parenta04e43ae517cad6c3a9b59e023c9d0b60d0bd8fe (diff)
downloadhyperterm-21e6d0e7abe785e397b417be2c425e3827f0c733.tar.lz
hyperterm-21e6d0e7abe785e397b417be2c425e3827f0c733.tar.xz
hyperterm-21e6d0e7abe785e397b417be2c425e3827f0c733.zip
fully usage %b in symbols
%b: ARGUMENT as a string with '\' escapes interpreted
Diffstat (limited to 'hyperterm/core')
-rw-r--r--hyperterm/core/git.sh32
1 files changed, 16 insertions, 16 deletions
diff --git a/hyperterm/core/git.sh b/hyperterm/core/git.sh
index 9b2ee5a..7213b14 100644
--- a/hyperterm/core/git.sh
+++ b/hyperterm/core/git.sh
@@ -6,22 +6,22 @@ function _symbols() {
# Import colors
_colors_bash "$@"
- __ps="$(printf '%b\u7C%b' "${BOLD}${LEMON}" "${RESET}")" # |
- __ss="$(printf '%b\u2714' "${BOLD}${CYAN}")" # ✔
- __dss="$(printf '%b\u002A' "${BOLD}${RED}")" # ∗
- __ahs="$(printf '%b\u2191' "${BOLD}${CYAN}")" # ↑
- __bhs="$(printf '%b\u2193' "${BOLD}${RED}")" # ↓
- __duphs="$(printf '%b\u25B2' "${BOLD}${YELLOW}")" # ▲
- __duplls="$(printf '%b\u25BC' "${BOLD}${RED}")" # ▼
- __duus="$(printf '%bdu' "${BOLD}${CYAN}")" # du
- __upulls="$(printf '%b\u25BD' "${BOLD}${GREEN}")" # ▽
- __sts="$(printf '%b\u2192\u004D' "${BOLD}${CYAN}")" # →M
- __usts="$(printf '%b\u2190\u004D' "${BOLD}${RED}")" # ←M
- __stusts="$(printf '%b<M>' "${BOLD}${RED}")" # <M>
- __uts="$(printf '%b\u003F' "${BOLD}${RED}")" # ?
- __nfs="$(printf '%b\u002B' "${BOLD}${CYAN}")" # +
- __dfs="$(printf '%bD' "${BOLD}${RED}")" # D
- __rns="$(printf '%b\u2387 ' "${BOLD}${RED}")" # ⎇
+ __ps="$(printf '%b%b%b' "${BOLD}${LEMON}" "\x7C" "${RESET}")" # |
+ __ss="$(printf '%b%b' "${BOLD}${CYAN}" "\xE2\x9C\x94")" # ✔
+ __dss="$(printf '%b%b' "${BOLD}${RED}" "\x2A")" # ∗
+ __ahs="$(printf '%b%b' "${BOLD}${CYAN}" "\xEA\x86\x91")" # ↑
+ __bhs="$(printf '%b%b' "${BOLD}${RED}" "\xE2\x86\x93")" # ↓
+ __duphs="$(printf '%b%b' "${BOLD}${YELLOW}" "\xE2\x96\x82" )" # ▲
+ __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
+ __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")" # +
+ __dfs="$(printf '%b%b' "${BOLD}${RED}" "\x44")" # D
+ __rns="$(printf '%b%b%b' "${BOLD}${RED}" "\xE2\x8E\x87" "\x20")" # ⎇
}
function _get_git_branch() {