G*T 发帖数: 14 | 1 各位高手,在下第一次用csh,遇到一个问题,就是不知道怎么样才可以像bash中的PS1那样
修改系统提示符呢?
请各位高手告诉小弟,谢谢 | o******d 发帖数: 1552 | 2 Edit your .cshrc to add this line:
set prompt="..."
where "..." is whatever you want to make it the new prompt.
for example:
set name=`whoami`
set prompt = "$name"
【在 G*T 的大作中提到】 : 各位高手,在下第一次用csh,遇到一个问题,就是不知道怎么样才可以像bash中的PS1那样 : 修改系统提示符呢? : 请各位高手告诉小弟,谢谢
|
|