aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2022-02-25 15:29:03 +0900
committernsfisis <nsfisis@gmail.com>2022-02-25 15:29:03 +0900
commit6afd050e6dcb60d863778d7558cfdd3fb1ce38ac (patch)
tree5978aeb2e936729be8148cb6c7594dfd95e05d77
parentfa752b56d43bc937f18b65fe7ce2bade6bae0241 (diff)
downloaddotfiles-6afd050e6dcb60d863778d7558cfdd3fb1ce38ac.tar.gz
dotfiles-6afd050e6dcb60d863778d7558cfdd3fb1ce38ac.tar.zst
dotfiles-6afd050e6dcb60d863778d7558cfdd3fb1ce38ac.zip
alacritty/tmux: fix terminfo
-rw-r--r--.tmux.conf7
-rw-r--r--INSTALL.txt6
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.
```