iTem2配色
在 ~/.bash_profile 中添加以下内容
#enables colorin the terminal bash shell export
export CLICOLOR=1
#sets up thecolor scheme for list export
export LSCOLORS=gxfxcxdxbxegedabagacad
#sets up theprompt color (currently a green similar to linux terminal)
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ '
#enables colorfor iTerm
export TERM=xterm-color
source ~/.bash_profile 使文件立即生效
github项目iTerm配色方案:https://github.com/mbadolato/iTerm2-Color-Schemes 下载主题
挑选完主题后,在 https://github.com/mbadolato/iTerm2-Color-Schemes/tree/master/schemes 找到同名的 .itermcolors 文件下载,或者直接复制到本地
打开 iTerm2 ,快捷键 commond + i 打开配置项

找到保存到本地的 .itermcolors 的文件导入即可

选中后即可改变配色

浙公网安备 33010602011771号