fix tmux-nvim colors

This commit is contained in:
Ivan Dimitrov 2024-04-22 19:54:57 +03:00
parent d440691598
commit ff5a022172
3 changed files with 5 additions and 2 deletions

View File

@ -15,7 +15,7 @@
PASSWORD_STORE_DIR = "($env.HOME | path join .password-store)"; PASSWORD_STORE_DIR = "($env.HOME | path join .password-store)";
PATH = "($env.PATH | split row (char esep) | append ($env.HOME | path join .local bin))"; PATH = "($env.PATH | split row (char esep) | append ($env.HOME | path join .local bin))";
EDITOR = "nvim"; EDITOR = "nvim";
TERM = "xterm-256color"; TERM = "screen-256color";
}; };
shellAliases = { shellAliases = {
gcal = '' gcal = ''

View File

@ -8,5 +8,8 @@
shell = "\${SHELL}"; shell = "\${SHELL}";
terminal = "screen-256color"; terminal = "screen-256color";
plugins = with pkgs.tmuxPlugins; [ tilish catppuccin ]; plugins = with pkgs.tmuxPlugins; [ tilish catppuccin ];
extraConfig = ''
set-option -a terminal-features 'screen-256color:RGB'
'';
}; };
} }

View File

@ -10,10 +10,10 @@
sessionVariables = { sessionVariables = {
PASSWORD_STORE_DIR = "$HOME/.password-store"; PASSWORD_STORE_DIR = "$HOME/.password-store";
PAGER = "bat"; PAGER = "bat";
TERM = "screen-256color";
}; };
shellAliases = { shellAliases = {
cal = "cal $(date +%Y)"; cal = "cal $(date +%Y)";
ssh = "TERM=xterm-256color ssh";
GG = "git add . && git commit -m 'GG' && git push --set-upstream origin HEAD"; GG = "git add . && git commit -m 'GG' && git push --set-upstream origin HEAD";
gad = "git add . && git diff --cached"; gad = "git add . && git diff --cached";
gac = "ga && gc"; gac = "ga && gc";