[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PS1



--- Marcelo Leal <leal@procergs.rs.gov.br> (2002-03-13 19:30):
>   why my PS1 variable is \u@\h:\w\$ in console (not X). And in X (eterm)
> is \s-\v\$ ???
>   i wanna the first way... in the second only bash version appears.

The prompt which contains only the shell and version number (the 2nd one
in your case), is the default bash prompt, which it gets when its not a
login shell, or if you purposefully tell it not to read its rc files.

You can try passing Eterm the "-l" (login) option, which should fix your
problem.

Cheers,
Sean

-- 
Sean Quinlan (smq@gmx.co.uk)

I'm using Debian GNU/Linux Woody 3.0
Linux plato 2.4.16 #1 Sat Dec 8 22:01:29 GMT 2001 i686 unknown



Reply to: