Fix terminfo path
This commit is contained in:
parent
910ac330d5
commit
00fa0a0b1f
|
@ -124,7 +124,7 @@ fi
|
|||
# emacsclient 27 (TODO: check later versions) needs this for TrueColor
|
||||
if [[ ${TERM#*-} == "256color" ]] \
|
||||
&& [[ ${COLORTERM} == *(truecolor|24bit)* ]] \
|
||||
&& [[ -f "/usr/share/terminfo/t/${TERM%-*}-direct" ]]; then
|
||||
&& [[ -f "/usr/share/terminfo/${TERM[1]}/${TERM%-*}-direct" ]]; then
|
||||
alias $(command -v emacsclient)="TERM=${TERM%-*}-direct $(command -v emacsclient)"
|
||||
alias $(command -v emacsremote)="TERM=${TERM%-*}-direct $(command -v emacsremote)"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user