Linux用户配置
在$HOME路径下添加文件.bash_profile,文件内容如下:
#enables colorin the terminal bash shell export
export CLICOLOR=1
#setsup thecolor scheme for list export
export LSCOLORS=gxfxcxdxbxegedabagacad
#enables colorfor iTerm
export TERM=xterm-256color
alias ll="ls -lh"
export PS1='[\u@\h \W] \$ '
HOMEDIR=/Users/$USERNAME
export MAVEN_HOME=$HOMEDIR/local/apache-maven-3.5.0
export GO_HOME=/usr/local/go
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home
export CLASSPAHT=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$JAVA_HOME/bin:$MAVEN_HOME/bin:$GO_HOME/bin:$PATH: