X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=7222619ca0b86c08de528ba30bc082951f3174a2;hb=363110875986d10c37122e5b430f357520504d8a;hp=1c7c846c9edf623a675b0f7b75bbf6980345b0ac;hpb=8db70f8ce60b4e949e1733c069101c4b7ea468eb;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index 1c7c846..7222619 100644 --- a/zsh/rc +++ b/zsh/rc @@ -351,6 +351,7 @@ zshrc_longrun_preexec() { # Don't track the time for certain (possible) long running processes which # need no automatic notification. + local ignore for ignore in elinks man mutt vim; do case $program in $ignore | $ignore\ *) @@ -995,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