1. vim .bashrc
1 # .bashrc 2 3 # User specific aliases and functions 4 export PS1='[\[\e[32;40m\]\u@\w]\$ ' 5 6 # Source global definitions 7 if [ -f /etc/bashrc ]; then 8 . /etc/bashrc 9 fi
1. vim .bashrc
1 # .bashrc 2 3 # User specific aliases and functions 4 export PS1='[\[\e[32;40m\]\u@\w]\$ ' 5 6 # Source global definitions 7 if [ -f /etc/bashrc ]; then 8 . /etc/bashrc 9 fi
转载于:https://www.cnblogs.com/yugengde/p/8251183.html