# 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
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) ... "
# 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