设置命令行提示符

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

 

 
posted @ 2018-01-09 14:12  yugengde  阅读(125)  评论(0)    收藏  举报