X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=5e97beaab4604277f660124c9c5499c3e5e50689;hb=3883bdf5d2cd9b4a9839b490f8f4e814e7f49bc9;hp=b0da57812b5033f6511e5314cdf08e80dd9161d8;hpb=2883b26b545153c1c5da87a3244af9518420b025;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index b0da578..5e97bea 100644 --- a/zsh/rc +++ b/zsh/rc @@ -428,6 +428,10 @@ if [[ $TERM == screen* || $TERM == xterm* || $TERM == rxvt* ]]; then # Add the preexec() and precmd() hooks. add-zsh-hook preexec window_preexec add-zsh-hook precmd window_precmd +else + # Fallback if another TERM is used, necessary to run screen (see below in + # "RUN COMMANDS"). + window_preexec() { } fi