[nycbug-talk] tcsh PS1 syntax
Thu Oct 14 11:00:24 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/
> i know if several good bash PS1 configs...but i'm not too sure if they
> 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.
More information about the talk