Thursday, December 26, 2013
修改.bashrc,讓終端機更多色
Thursday, December 26, 2013
電腦-linux-commadn line
,
電腦-Linux-ubuntu 12.04 LTS
2013-12-26
看不習慣bash shell預設全白的prompt,修改/etc/bash.bashrc把$PS1調成舒適的綠色- set /etc/bash.bashrc to change shell prompt
PS1="\e[1;32m[\u @ \A #\# \W]\$ \e[m "Reference:
1修改 .bashrc,让 Linux 文本界面显示颜色
2BASH Shell: Change The Color of My Shell Prompt Under Linux or UNIX
3Easy PS1 Colors
Subscribe to:
Post Comments
(
Atom
)

0 comments :
Post a Comment