MacOS fix for tmux terminfo

sourced from https://gpanders.com/blog/the-definitive-guide-to-using-tmux-256color-on-macos/

One day I'll learn how terminfo actually works
This commit is contained in:
Andrew Tomaka 2022-12-10 09:56:54 -05:00
parent fdf329b3df
commit 303b43a939
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -68,6 +68,7 @@ install_tmux_terminfo() {
pushd /tmp pushd /tmp
gunzip tmux-256color.src.gz gunzip tmux-256color.src.gz
sed -i 's/pairs#0x10000/pairs#32767/g' tmux-256color.src
sudo tic -xe tmux-256color tmux-256color.src sudo tic -xe tmux-256color tmux-256color.src
popd popd