From c236bfbf28bc3229d2434e753833b04b0fb281da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Thu, 19 Aug 2021 20:57:23 -0500 Subject: Fix theme simple and minor fix in theme special. Too fix variable ${RESET} in git, now save as %b --- hyperterm/themes/simple.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'hyperterm/themes/simple.sh') 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\] }" -- cgit v1.2.3