You need to export PS1 just like you do the PATH.

On Mon, Aug 4, 2008 at 8:44 PM, J. Todd Slack <
mailinglists at jasonandannette.us> wrote:

> Hi,
>
> Solaris 10, sorry, I dont find a Solaris 10 dedicated mailing list.
>
> Root shell is /bin/sh
>
> Roots home is in my / directory
>
> I put a .login file there, but it is not being observed (I made PS1
> modifications and Path additions)
>
> What am I doing wrong?
>
> I am doing the following in .login:
>
> # prompt
> PS1_SHORT='\[\033[?6c\]...@\[\033[1;34m\]\h\[\033[0m\] \W]\$ '
> PS1_LONG='\[\033[?6c\]...@\[\033[1;34m\]\h\[\033[0m\] \w]\$ '
> PS1=$PS1_LONG
>
> # path
> PATH=/usr/ccs/bin:/opt:/opt/csw/bin:$PATH
> export PATH
>
>
> Thoughts?
>
> -Jason
>
> _______________________________________________
> opensolaris-help mailing list
> opensolaris-help at opensolaris.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/opensolaris-help/attachments/20080804/dee292e3/attachment.html>

Reply via email to