由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - 求助!!
相关主题
如何在提示符前显示目录,就想DOS那样.Solaris下指定打印机的环境变量是什么?
怎样改成tcsh?Solaris FAQ
How to set the titile of the terminal?HELP, a question about the library path,
bash prompt 一问kde的问题
tc shell script??只能cd了,5555
.cshrc file英雄,救命啊!!!
可以看别人的环境变量?how to fix login problem ( can't read .cshrc file
如何把提示符变成大写黑体(谢谢)-NULLHow to find a file in the deep children directory?
相关话题的讨论汇总
话题: prompt话题: set话题: 高手话题: name话题: ps1
进入Unix版参与讨论
1 (共1页)
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那样
: 修改系统提示符呢?
: 请各位高手告诉小弟,谢谢

1 (共1页)
进入Unix版参与讨论
相关主题
How to find a file in the deep children directory?tc shell script??
.cshrc?.login?.profile?.cshrc file
How to set environment variables for CGI scripts?可以看别人的环境变量?
UNIX dummy Questions?如何把提示符变成大写黑体(谢谢)-NULL
如何在提示符前显示目录,就想DOS那样.Solaris下指定打印机的环境变量是什么?
怎样改成tcsh?Solaris FAQ
How to set the titile of the terminal?HELP, a question about the library path,
bash prompt 一问kde的问题
相关话题的讨论汇总
话题: prompt话题: set话题: 高手话题: name话题: ps1