Bash+屏幕提示和标题(Debian)
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Bash+屏幕提示和标题(Debian)相关的知识,希望对你有一定的参考价值。
This .bashrc snippet sets the PS1 prompt so the title will be displayed in screen's statusbar.
# STY is set by screen if [ -n "$STY" ]; then PS1='${debian_chroot:+($debian_chroot)}[email protected]h:w$ [ 33k]$(basename "w")[ 33\]' else PS1='${debian_chroot:+($debian_chroot)}[email protected]h:w$ ' fi
以上是关于Bash+屏幕提示和标题(Debian)的主要内容,如果未能解决你的问题,请参考以下文章