aliases in .profile don't work?

MR ZenWiz mrzenwiz at gmail.com
Thu Dec 9 01:56:28 UTC 2010


On Wed, Dec 8, 2010 at 5:46 PM, Marius Gedminas <marius at pov.lt> wrote:
>
> That's right; I should've mentioned that Ubuntu's default ~/.bashrc
> sources ~/.bash_aliases.
>
> And Ubuntu's default ~/.profile sources ~/.bashrc, if detects that your
> shell is bash.
>
That makes more sense.

I do find it odd that your .profile alias did not "take" - I used to
put an alias x=exit in my /etc/profile (not a good idea, but at the
time I thought it was) and it "took" for all users (i.e., me).

Anyway, glad we cleared that one up.

Cheers.




More information about the ubuntu-users mailing list