zsh: i have further fucked it

This commit is contained in:
Erin 2022-10-15 21:51:51 -04:00
parent 6e68262233
commit cbe49f3761

View file

@ -20,7 +20,7 @@ function precmd {
RPROMPT="exited %B%(?.%F{green}%?%f.%F{red}%?%f)%b" RPROMPT="exited %B%(?.%F{green}%?%f.%F{red}%?%f)%b"
if [ -z $timer ]; then if [ -z $timer ]; then
# If we never set $timer, preexec was never run (e.g. ^C at prompt) # If we never set $timer, preexec was never run (e.g. ^C at prompt)
RPROMPT="$(print -P "%B%F{cyan}no exec%f%b, $RPROMPT")" RPROMPT="%B%F{cyan}no exec%f%b, $RPROMPT"
else else
# Calculate elapsed real time for last command # Calculate elapsed real time for last command
now="$(date +%s.%N)" now="$(date +%s.%N)"