分页: 1 / 1

关于debian_chroot

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

每次开term,不是每次都执行这个.bashrc吗

发表于 : 2008-05-26 22:05
robinhesky
那应该是那样的 阿,但似乎是有执行的。。