Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -56,6 +56,8 @@ let g:netrw_browse_split = 4
|
||||
set background=dark
|
||||
|
||||
if has('termguicolors') && ($COLORTERM ==# 'truecolor' || $COLORTERM ==# '24bit')
|
||||
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||
set termguicolors
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
# Profiling: ZSH_BENCH=1 zsh
|
||||
[[ -n "$ZSH_BENCH" ]] && zmodload zsh/zprof
|
||||
|
||||
# Upgrade xterm-color to xterm-256color (gh cs ssh sets the weaker value)
|
||||
[[ "$TERM" == "xterm-color" ]] && export TERM=xterm-256color
|
||||
|
||||
# Assume truecolor support if terminal advertises 256color (covers SSH, tmux)
|
||||
[[ -z "$COLORTERM" && "$TERM" == *256color* ]] && export COLORTERM=truecolor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user