关于debian_chroot
发表于 : 2008-05-26 21:59
.bashrc里
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
那个是单引号的话,${debian_chroot:+($debian_chroot)}不是应该不当命令执行,我的显示里怎么没有这个,直接是\u@\h:\w\$的效果?应该是${debian_chroot:+($debian_chroot)}再是用户名@主机名:工作目录$
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
那个是单引号的话,${debian_chroot:+($debian_chroot)}不是应该不当命令执行,我的显示里怎么没有这个,直接是\u@\h:\w\$的效果?应该是${debian_chroot:+($debian_chroot)}再是用户名@主机名:工作目录$