- 修改终端显示颜色:
export PS1=‘[\[\e[35;40m\]\u\[\e[32;40m\]@\[\e[36;40m\]\h \[\e[35;40m\]\w\[\e[37;40m\]]\[\e[32;40m\]\$ \[\e[37;40m\]‘ # 写入到$HOME/.bashrc
时间: 2024-10-11 13:15:08
export PS1=‘[\[\e[35;40m\]\u\[\e[32;40m\]@\[\e[36;40m\]\h \[\e[35;40m\]\w\[\e[37;40m\]]\[\e[32;40m\]\$ \[\e[37;40m\]‘ # 写入到$HOME/.bashrc