From: Simon Ruderich Date: Sun, 22 Jun 2014 14:41:08 +0000 (+0200) Subject: zsh/rc: remove more unnecessary quotes X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=fd0f62ac440d4298fa51f244a853d537ccfd285d;p=config%2Fdotfiles.git zsh/rc: remove more unnecessary quotes --- 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