Last active
February 20, 2017 09:07
-
-
Save xgz123/ef2601373c6e53c5ae2b020d7b079334 to your computer and use it in GitHub Desktop.
profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/profile | |
# source /etc/profile | |
# nodejs | |
export NODE_HOME=/home/xgz/app/node-v6.3.0 | |
export PATH=$PATH:$NODE_HOME/bin | |
export NODE_PATH=$NODE_HOME/lib/node_modules | |
# prefix 是nodejs的node_prefix | |
# $PREFIX/lib/node | |
export PREFIX=/home | |
# jdk & nodejs & go | |
export GOROOT=$APP/go | |
export NODE_HOME=/home/xgz/app/node-v6.3.0 | |
export NODE_PATH=$NODE_HOME/lib/node_modules | |
export JAVA_HOME=/home/xgz/app/jdk1.7.0_79 | |
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar | |
export PATH=$PATH:$NODE_HOME/bin:$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$GOROOT/bin | |
# phantom | |
# 直接放在nodejs里面 | |
# editor | |
# c-x c-e | |
# 对包括git在内的软件通用 | |
export VISUAL=vim // 全屏编辑器, 先找这个 | |
export EDITOR="$VISUAL" // 老旧的编辑器, 后找这个 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment