[nycbug-talk] tcsh PS1 syntax

pete at nomadlogic.org pete
Thu Oct 14 10:37:21 EDT 2004


> On Oct 14, 2004, at 10:22 AM, pete at nomadlogic.org wrote:
>
>>     does anyone know of a good reference for PS1 syntax in tcsh
>> specifically, and even better would be a ref. for .tcshrc in general.
>> i'd like to have my PS1 truncate the path after a certain amount of
>> chars so i don't end up with a commandline like this:
>>
>> [wright at korna]/shots/edu/trnpst_wright/pix/out/
>> trnpst_wright_tt17a_comp_v44/tvfa_lg10>
>>
>> i know if several good bash PS1 configs...but i'm not too sure if they
>> are
>> portable to csh and tcsh.
>
> I don't think PS1 is even used with tcsh, I think that is a bash
> thing..  I've always used "set prompt" in tcsh.. look in the man page
> under prompt for all the %commands.
>

yea i realized that after i send the email regarding PS1.  unfortunatly
i'm on a linux box w/ typical linux man's....i also don't have access to
any of my outside boxen that would probably have real online doc :(

-p



~~~oO00Oo~~~
Pete Wright
email:  pete at nomadlogic.org
mobile: 917.415.9866
web:    www.nomadlogic.org/~pete





More information about the talk mailing list