From fd0f62ac440d4298fa51f244a853d537ccfd285d Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 22 Jun 2014 16:41:08 +0200 Subject: [PATCH] zsh/rc: remove more unnecessary quotes --- zsh/rc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.44.1