diff --git a/config/terminfo/screen-256color-italic.terminfo b/config/terminfo/screen-256color-italic.terminfo new file mode 100644 index 0000000..9eae924 --- /dev/null +++ b/config/terminfo/screen-256color-italic.terminfo @@ -0,0 +1,3 @@ +screen-256color-italic|screen with 256 colors and italic, + sitm=\E[3m, ritm=\E[23m, kbs=\177, + smso=\E[7m, rmso=\E[27m, use=screen-256color, diff --git a/config/terminfo/tmux.terminfo b/config/terminfo/tmux.terminfo new file mode 100644 index 0000000..d335c47 --- /dev/null +++ b/config/terminfo/tmux.terminfo @@ -0,0 +1,6 @@ +tmux|tmux terminal multiplexer, + ritm=\E[23m, rmso=\E[27m, sitm=\E[3m, smso=\E[7m, Ms@, + use=xterm+tmux, use=screen, + +tmux-256color|tmux with 256 colors, + use=xterm+256setaf, use=tmux, diff --git a/setup b/setup index d327ac8..00ec9a5 100755 --- a/setup +++ b/setup @@ -57,3 +57,10 @@ SYMLINK_CONFIG "compton" "compton.conf"; SYMLINK_CONFIG "i3" "config"; SYMLINK_CONFIG "kitty" "kitty.conf"; SYMLINK_CONFIG "kitty" "theme.conf"; + +function terminfo_setup() { + for file in $(find "$HOME/.wryn/config/terminfo" -type f); do + tic -x $file; + done +} +terminfo_setup; diff --git a/tmux/tmux.conf b/tmux/tmux.conf index b7072ad..2aaadf2 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -8,7 +8,7 @@ bind-key r source-file ~/.tmux.conf\; display "TMUX CONFIG RELOADED" bind-key -n M-r source-file ~/.tmux.conf\; display "TMUX CONFIG RELOADED" # force color -set -g default-terminal "screen-256color" +set -g default-terminal "tmux" # force utf-8 setw -gq utf8 on