我的终端背景颜色是深蓝色。
我使用的一些工具无论如何都会发出深蓝色文本,使文本对我不可见。
我可以添加一些东西来.zshrc
从任何/每个来源读取所有 STDOUT/STDERR 并自动将任何深蓝色 ANSI 转义码替换为白色吗?
从我的alacritty.yml
:
colors:
primary:
background: '0x002b36'
foreground: '0x839496'
dim_background: '0x002b36'
dim_foreground: '0x839496'
bright_background: '0x002b36'
bright_foreground: '0x839496'
cursor:
text: '#002b36' # base03
cursor: '#839496' # base0
normal:
black: '0x073642'
red: '0xdc322f'
green: '0x859900'
yellow: '0xb58900'
blue: '0x268bd2'
magenta: '0xd33682'
cyan: '0x2aa198'
white: '0xeee8d5'
bright:
black: '0x002b36'
red: '0xcb4b16'
green: '0x586e75'
yellow: '0x657b83'
blue: '0x839496'
magenta: '0x6c71c4'
cyan: '0x93a1a1'
white: '0xfdf6e3'
从我的.zshrc
:
autoload -U colors
colors