Created
March 16, 2019 08:42
-
-
Save foreverlms/9c85e15cfb99605b0a1d34f5b880a211 to your computer and use it in GitHub Desktop.
ubuntu终端配色PS1变量设置
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32;01m\]\u@\h:\[\033[00;00;01m\]\w\$ \[\033[0;36;01m\]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
用法:
.basrc
文件中的PS1那短的一行用color.bash
这一行替换掉。