Difference between revisions of "小代码大作用:电脑开荒代码"

Jump to navigation Jump to search
no edit summary
# 放进 .bashrc
# 实现黄字 user@server,以区分 server 和 local
export PS1='\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;33m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
export PS1='\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;33m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
</syntaxhighlight>

Navigation menu