X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=1a8c7994fd4abdee7d25bb6507d03060f7c0137a;hb=fd0f62ac440d4298fa51f244a853d537ccfd285d;hp=ee31875774893841211b1b859c56978add6c9e8f;hpb=fc448a15465857fe36f2e9ffe6797cf78010bbee;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index ee31875..1a8c799 100644 --- a/zsh/rc +++ b/zsh/rc @@ -979,7 +979,7 @@ if [[ $LD_PRELOAD != *libcoloredstderr.so* ]]; then # process when starting GNU screen/tmux (see above). else exec 2>>(while read -r -k -u 0 line; do - printf '\e[91m%s\e[0m' "$line" + printf '\e[91m%s\e[0m' $line print -n $'\0' done &) fi @@ -1027,7 +1027,7 @@ zshrc_restart_precmd() { fi local startup - strftime -s startup '%Y-%m-%d %H:%M:%S' "$zshrc_startup_time" + strftime -s startup '%Y-%m-%d %H:%M:%S' $zshrc_startup_time echo -n "${fg[magenta]}" echo -n "~/.zshrc modified since startup ($startup) ... " @@ -1049,9 +1049,9 @@ zshrc_restart_precmd() { # Don't kill our current session by execing it. zsh -i -c 'exit 42' if [[ $? -ne 42 ]]; then - echo -n "${fg_bold[red]}" + echo -n ${fg_bold[red]} echo 'failed to start new zsh!' - echo -n "${fg_bold[default]}" + echo -n ${fg_bold[default]} return fi