From 0446ba195451447001addf6aab15834f6095e4e2 Mon Sep 17 00:00:00 2001 From: Hedy Li Date: Wed, 18 Aug 2021 16:52:42 +0800 Subject: [PATCH] PLEASE can tmux true colors finally work????? gosh --- .config/fish/config.fish | 8 ++++++++ .tmux.conf | 5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index d34c1a0..76cba0d 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -8,3 +8,11 @@ end if test -f ~/.config/fish/config_local.fish source ~/.config/fish/config_local.fish end + +set -gx HOMEBREW_PREFIX "/home/hedy/.linuxbrew"; +set -gx HOMEBREW_CELLAR "/home/hedy/.linuxbrew/Cellar"; +set -gx HOMEBREW_REPOSITORY "/home/hedy/.linuxbrew/Homebrew"; +set -gx HOMEBREW_SHELLENV_PREFIX "/home/hedy/.linuxbrew"; +set -q PATH; or set PATH ''; set -gx PATH "/home/hedy/.linuxbrew/bin" "/home/hedy/.linuxbrew/sbin" $PATH; +set -q MANPATH; or set MANPATH ''; set -gx MANPATH "/home/hedy/.linuxbrew/share/man" $MANPATH; +set -q INFOPATH; or set INFOPATH ''; set -gx INFOPATH "/home/hedy/.linuxbrew/share/info" $INFOPATH; diff --git a/.tmux.conf b/.tmux.conf index 4e94dcf..76b5e97 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -6,8 +6,9 @@ set -sg escape-time 0 set -g visual-activity off # terminal stuff -set -g default-terminal "screen-256color" -set -g terminal-overrides ",xterm-256color*:Tc" +set -g default-terminal "tmux-256color" +# set -g terminal-overrides ",tmux-256color:Tc" +set-option -sa terminal-overrides ",*:Tc" # Prefix for remote tmux (instead of C-b twice) bind-key -n M-b send-prefix