export PS1=$USER@`hostname`:'$PWD # '
set -o vi
cd /tmp/xx/tools/usr/local/bin
export PATH=$PATH:$(pwd)
export PATH=$PATH:`pwd`
export LIBPATH=/tmp/xx/tools/usr/local/lib
转载于:https://my.oschina.net/l1z2g9/blog/53929