tcsh question
Rick Stevens
rstevens at vitalstream.com
Thu Jul 15 00:01:57 UTC 2004
GoijI P wrote:
>>> rH9. tcsh - .tcshrc.
>>> when in terminal i like my current directory path
>>> to show as part of terminal title. how?.
>>
>>
>> Try using one of these commands to see which one you prefer:
>>
>> prompt %/
>> prompt %~
>>
>> Then put the one you like in your ~/.tcshrc script. This is all
>> explained in the "Special Shell Variables" section of "man tcsh"
> how do i i run the command?.:
> set prompt = %~ ??
Yes. You probably want something like one of these:
set prompt = "[%/]$ "
set prompt = "[%~]$ "
> sorry, been away from linux for sometime.
That's OK. I should have been clearer. And please bottom-post in the
future.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- We are born naked, wet and hungry. Then things get worse. -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list