From 363110875986d10c37122e5b430f357520504d8a Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 7 Sep 2017 12:04:02 +0200 Subject: [PATCH] zsh/rc: fix `reset` with zsh-internal colored stderr hack --- zsh/rc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zsh/rc b/zsh/rc index dde2ebb..7222619 100644 --- a/zsh/rc +++ b/zsh/rc @@ -996,6 +996,11 @@ if [[ $LD_PRELOAD != *libcoloredstderr.so* ]]; then printf '\e[91m%s\e[0m' $line print -n $'\0' done &) + + # Reset doesn't work with this hack. + reset() { + command reset "$@" 2>&1 + } fi fi -- 2.43.2