Added fix for terminal colors in nested tmux and nvim

master
_N0x 2 years ago
parent 9bd48adb13
commit fc87ac1fec

@ -1,6 +1,7 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR __fish_initialized:3100
SETUVAR --export TERM:xterm\x2d256color
SETUVAR __fish_initialized:3400
SETUVAR fish_color_autosuggestion:4c566a
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:green

@ -59,7 +59,7 @@ function fish_prompt
__fish_git_prompt " (%s)"
# beginning of new line
_print_in_color "\r\n┗" blue
_print_in_color "\n┗" blue
# time information
_print_in_color " "(date "+%H:%M:%S") green

@ -1,6 +1,7 @@
# ==========================
# === General settings ===
# ==========================
set-option -ga terminal-overrides ",*256col*:Tc"
set -g default-terminal "screen-256color"
# Change prefix key to C-a, easier to type, same to "screen"

Loading…
Cancel
Save