From 306dae333b6dfd28591e11afc6395a7b7ef8dcce Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Mon, 15 Jan 2024 08:40:19 +0100 Subject: [PATCH] feat: set TERMINFO in tmux because of peco issue#554 --- zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zshrc b/zshrc index e21b980..dc3b8c5 100644 --- a/zshrc +++ b/zshrc @@ -177,6 +177,10 @@ else zle -N rs_peco reverse_search bindkey ^R rs_peco PECO=/usr/bin/ + + if [[ "$TERM_PROGRAM" == "tmux" ]] || [[ -n $TMUX ]]; then + export TERMINFO="xterm-256color" # peco issue 554 + fi fi ## Start thunderbird with correct time-format ##