美文网首页
Term2修改配色主题

Term2修改配色主题

作者: micki_zhou | 来源:发表于2017-11-06 11:24 被阅读21次

1. 安装Term2

2. 下载Term2主题包 https://github.com/baskerville/iTerm-2-Color-Themes

3. 打开Terminal输入:vi ~/.bash_profile ,然后加入以下代码

#enables colorin the terminal bash shell export

CLICOLOR=1

#sets up thecolor scheme for list export

LSCOLORS=gxfxcxdxbxegedabagacad

#sets up theprompt color (currently a green similar to linux terminal)

exportPS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ '

#enables colorfor iTerm

exportTERM=xterm-color

4. Term2-profiles-color-colorPresets-导入下载的主题包,选择一个主题

相关文章

网友评论

      本文标题:Term2修改配色主题

      本文链接:https://www.haomeiwen.com/subject/przkmxtx.html