|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] .bashrc or .profile
|
Heh.
Thanks for the responses. I think the answer is it depends on the
distributions.
On Sun, Jul 13, 2008 at 3:20 AM, Matthew Rosewarne
<mrosewarne@inoutbox.com> wrote:
> On Sunday 13 July 2008, Mag Gam wrote:
>> So what is it? .profile or .bashrc ?:-)
>
> The difference is about login and non-login shells. While it does depend
> largely on the distribution, you're likely to find that .profile is used for a
> login shell, whereas .bashrc is used for a non-login shell (like when you run
> xterm). Usually though, .bashrc is also sourced by .profile. This means that
> you'll want to do things like setting LANG or PATH in .profile, and things
> like defining aliases in .bashrc.
>
> Of course, .bashrc does very little if you use fish!
>
> %!PS: fish is outstanding.
>
> ___________________________________________________________________________
> Philadelphia Linux Users Group -- http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
>
>
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|