From 6afd050e6dcb60d863778d7558cfdd3fb1ce38ac Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 25 Feb 2022 15:29:03 +0900 Subject: alacritty/tmux: fix terminfo --- .tmux.conf | 7 +++---- INSTALL.txt | 6 +++++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index 3d0c85a..4952bbb 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -19,10 +19,9 @@ set-option -g focus-events on set-option -g escape-time 10 # TERMINAL FEATURES {{{2 -set-option -g default-terminal screen-256color -set-option -ga terminal-overrides ',xterm-256color:Tc' -set-option -ga terminal-overrides ',*:Smulx=\e[4::%p1%dm' -set-option -ga terminal-overrides ',*:Setulc=\e[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' +set-option -g default-terminal tmux-256color +set-option -ga terminal-overrides ',tmux-256color:Tc' +set-option -ga terminal-overrides ',alacritty:RGB' # APPEARANCE {{{2 set-option -g status-justify left diff --git a/INSTALL.txt b/INSTALL.txt index db78a03..3b30338 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -2,7 +2,6 @@ macOS (homebrew) ``` $ brew install \ - alacritty \ bash \ bat \ cmake \ @@ -11,6 +10,7 @@ $ brew install \ gcc \ git \ jq \ + ncurses \ neovim \ pandoc \ python \ @@ -32,6 +32,10 @@ $ brew install --cask \ # Latest version: https://github.com/adobe-fonts/source-han-code-jp/releases/latest $ curl -fLo ~/Library/Fonts/SourceHanCodeJP.ttc --create-dirs https://github.com/adobe-fonts/source-han-code-jp/releases/download/2.012R/SourceHanCodeJP.ttc $ sudo atsutil databases -remove + +$ /usr/local/opt/ncurses/bin/infocmp tmux-256color > /var/tmp/tmux-256color.info +$ tic -xe tmux-256color /var/tmp/tmux-256color.info + # Restart your machine. ``` -- cgit v1.2.3-70-g09d2