一半君的总结纸

听话只听一半君

如何更改tcsh命令行提示符

公司还在用老掉牙的tcsh

运行一下这个,以用于写教程

set prompt = " fucker@tmdi >"

正常举例:

set prompt = " %B[%@]%b %m[%/] >" #Custom Prompt settings

# 这个效果是
# start bold[time] end bold hostname [current working directory] >

参考:

How to change your shell prompt

Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: