iterm2定制配色

常用快捷键参考配置参考

一、环境配置修改

$ cd ~
$ vi .bash_profile
$ source .bash_profile
export CLICOLOR=1

export LSCOLORS=gxfxcxdxbxegedabagacad

export PS1='[ 33[01;32m][email protected][ 33[00m]:[ 33[01;36m]w[ 33[00m]$ [ 33[01;35m]'

export TERM=xterm-256color
  • 环境变量TERM改动clear报错 ‘terminals database is inaccessible’

$ clear
terminals database is inaccessible
$ infocmp xterm-Monokai Remastered
infocmp: couldn't open terminfo file (null).


Star here>>>