feat: set TERMINFO in tmux because of peco issue#554

This commit is contained in:
2024-01-15 08:40:19 +01:00
parent 773b5db80f
commit 306dae333b

4
zshrc
View File

@@ -177,6 +177,10 @@ else
zle -N rs_peco reverse_search zle -N rs_peco reverse_search
bindkey ^R rs_peco bindkey ^R rs_peco
PECO=/usr/bin/ PECO=/usr/bin/
if [[ "$TERM_PROGRAM" == "tmux" ]] || [[ -n $TMUX ]]; then
export TERMINFO="xterm-256color" # peco issue 554
fi
fi fi
## Start thunderbird with correct time-format ## ## Start thunderbird with correct time-format ##