From 6d5690b005df5fa7bdd98c94790b0bb8424f714f Mon Sep 17 00:00:00 2001 From: Andriy Semenets Date: Wed, 3 Jan 2024 17:51:21 +0100 Subject: [PATCH] Improve colors settings --- tmux/.tmux.conf | 7 ++----- zsh/.zshrc | 4 +--- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index dfbedeb..558816f 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -1,5 +1,6 @@ # Fix issue with incorrect Vim colors -set -g default-terminal "xterm-256color" +set -g default-terminal "tmux-256color" +set -ag terminal-overrides ",xterm-256color:RGB" # Smart pane switching with awareness of Vim splits. # See: https://github.com/christoomey/vim-tmux-navigator @@ -69,9 +70,5 @@ set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @resurrect-processes '"ngrok start grain-backend"' -set -g terminal-overrides ',xterm-256color:Tc' -set -g default-terminal "tmux-256color" -set -as terminal-overrides ',xterm*:sitm=\E[3m' - # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run -b '~/.tmux/plugins/tpm/tpm' diff --git a/zsh/.zshrc b/zsh/.zshrc index af6351f..d9fa862 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -29,8 +29,7 @@ compinit -C # CASE_SENSITIVE="true" # Uncomment the following line to use hyphen-insensitive completion. Case -# sensitive completion must be off. _ and - will be interchangeable. -# HYPHEN_INSENSITIVE="true" +# sensitive completion must be off. _ and - will be interchangeable. HYPHEN_INSENSITIVE="true" # Uncomment the following line to disable bi-weekly auto-update checks. DISABLE_AUTO_UPDATE="true" @@ -111,7 +110,6 @@ export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" export PATH="/usr/local/bin:$PATH" export PATH="/Users/semanser/.cabal/bin:$PATH" -export TERM="xterm-256color" # Set custom prompt PROMPT="%(?:%{$fg_bold[green]%}➜:%{$fg_bold[red]%}➜)"