tmux: use "alacritty" for $TERM on desktop and laptop

This commit is contained in:
inkch 2024-03-06 16:45:07 +09:00
parent fa8d397333
commit 87bf5ef08d

View File

@ -1,10 +1,10 @@
# 256 color # 256 color
{{- if eq .hosttype "desktop" "laptop" }} {{- if eq .hosttype "desktop" "laptop" }}
set -g default-terminal "screen-256color" set -g default-terminal "alacritty"
{{- else }} {{- else }}
set -g default-terminal "tmux-256color" set -g default-terminal "tmux-256color"
{{- end }} {{- end }}
set -ga terminal-overrides ',xterm-256color:RGB' #set -ga terminal-overrides ',xterm-256color:RGB'
# increase limit of "scrollback buffer" # increase limit of "scrollback buffer"
set -g history-limit 1000000 set -g history-limit 1000000