aboutsummaryrefslogtreecommitdiffstats
path: root/hyperterm/themes
diff options
context:
space:
mode:
Diffstat (limited to 'hyperterm/themes')
-rw-r--r--hyperterm/themes/simple.sh11
-rw-r--r--hyperterm/themes/special.sh2
2 files changed, 7 insertions, 6 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\] }"
diff --git a/hyperterm/themes/special.sh b/hyperterm/themes/special.sh
index 08b2f87..fd58b1e 100644
--- a/hyperterm/themes/special.sh
+++ b/hyperterm/themes/special.sh
@@ -25,7 +25,7 @@ special=("\n\
\[${BOLD}${CYAN}\]hist:\!\[$RESET\]\n\
\[${BOLD}${GREY}\]\
\D{%Y-%m-%d}@\D{%I:%M%p}\[$RESET\] \
-\$(exitstatus)\[$_PROMPT_RESET\]\
+\$(exitstatus)\[$RESET\]\
\$(__prompt_git)\n\
\[${BOLD}${GREEN}\]$SYMBOL \[$RESET\]")