aboutsummaryrefslogtreecommitdiffstats
path: root/hyperterm/themes/simple.sh
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-08-19 20:57:23 -0500
committerJesús <heckyel@hyperbola.info>2021-08-19 20:57:23 -0500
commitc236bfbf28bc3229d2434e753833b04b0fb281da (patch)
tree17e05ca22e0e8d97485926bafc47c90fd1f6a266 /hyperterm/themes/simple.sh
parent712272e5052acbfb3b2c193071693c558a0c6eb4 (diff)
downloadhyperterm-c236bfbf28bc3229d2434e753833b04b0fb281da.tar.lz
hyperterm-c236bfbf28bc3229d2434e753833b04b0fb281da.tar.xz
hyperterm-c236bfbf28bc3229d2434e753833b04b0fb281da.zip
Fix theme simple and minor fix in theme special.
Too fix variable ${RESET} in git, now save as %b
Diffstat (limited to 'hyperterm/themes/simple.sh')
-rw-r--r--hyperterm/themes/simple.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/hyperterm/themes/simple.sh b/hyperterm/themes/simple.sh
index d2f2129..b111f32 100644
--- a/hyperterm/themes/simple.sh
+++ b/hyperterm/themes/simple.sh
@@ -6,16 +6,17 @@ unset simple
_colors_bash "$@"
__time_out_command() {
- cut -d\ -f1 /proc/loadavg
+ awk '{ print $1 }' /proc/loadavg
}
: "${simple:=\n\
\[${RESET}\]\
\[${BOLD}${GREY}\]\
-\$(__time_out_command) \
-\$(exitstatus)\
-\$(__prompt_git)\
-\[${BOLD}${GREEN}\] $SYMBOL \[$RESET\]}"
+\$(exitstatus)\[$RESET\] \
+\[${BOLD}${GREY}\]\
+\$(__time_out_command)\[$RESET\]\
+\$(__prompt_git)\n\
+\[${BOLD}${GREEN}\]$SYMBOL \[$RESET\]}"
unset _psi
: "${_psi:=\[${BOLD}${CYAN}\]=>\[$RESET\] }"