Mac terminal 终端颜色区分显示
terminal
The new Windows Terminal and the original Windows console host, all in the same place!
项目地址:https://gitcode.com/gh_mirrors/term/terminal
免费下载资源
·
Terminal 默认是没有颜色区分的,打开也好整,只需要设置一下
参阅:https://stackoverflow.com/questions/1550288/os-x-terminal-colors
方法
编辑自己用户目录下的 .bash_profile
文件,如果没有,新建一个就好
export CLICOLOR=1 # 打开颜色区分显示
export LSCOLORS=Gxfxcxdxbxegedabagacad # 颜色显示的格式
关于颜色,可以自定义,通过这个网站可以快速编辑颜色方案
编辑完这个文件后执行下面指令使其生效
source .bash_profile
然后打开 Terminal 的设置窗口Preferences
> Profiles
> Display ANSI Colors
(我用的英文,如果你是中文,看图)
效果
GitHub 加速计划 / term / terminal
94.53 K
8.17 K
下载
The new Windows Terminal and the original Windows console host, all in the same place!
最近提交(Master分支:25 天前 )
bc6f3e22
The underlying issue is that the "Pane" is used both as a model and as
a UI element and so a pane loses its content as soon as it is closed,
but the tree only gets reordered after the animation has finished.
This PR is truly just a hotfix, because it doesn't solve this issue,
it only adds checks to the function that crashes.
Closes #17869
Closes #17871
## Validation Steps Performed
* `Split pane` a few times
* Run the "Close all other panes" action
* Doesn't crash ✅ 6 天前
6196a3d0
7 天前
更多推荐
已为社区贡献31条内容
所有评论(0)