摘要: 自己喜欢的风格: 1 切换到root用户 2 执行 vim ~/.bashrc 3 添加语句 PS1='\[\e[35;40m\][\t][\u@ \W]\$: \[\e[m\]' 4 退出VIM 执行 source ~/.bashrc 效果如下: (有时间/用户名/目前路径) 补充: PS1的常用 阅读全文
posted @ 2020-11-09 11:58 FishMan552 阅读(651) 评论(0) 推荐(0)