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

Re: No sourcing of ~/.profile at login



On Sun, Sep 21, 2003 at 01:38:48PM -0400, Daniel B. wrote:
> It also means that you have to put settings in two places (your shell's
> login-initialization file _and_ .xsession).  

I do this in ~/.xsession:

# source ~/.bashrc to get our environment vars
# we're a login script, so this is OK

if [ -f ~/.bashrc ]; then
    source ~/.bashrc
fi

Seems to do the job.

-- 
 Marc Wilson |     Sometimes a man who deserves to be looked down upon
 msw@cox.net |     because he is a fool is despised only because he is
             |     a lawyer.  -- Montesquieu



Reply to: