[Nix-dev] Re: .bashrc symlink

Ludovic Courtès ludo at gnu.org
Fri Apr 9 23:04:50 CEST 2010


Hi Marc,

Marc Weber <marco-oweber at gmx.de> writes:

>> Which symlink?
> If you create a new user account and login some files will be created
> for you. One of them is ~/.bashrc -> /etc/static/skel/.bashrc
>
> If you edit .bashrc using root you'll be editing
> /etc/static/skel/.bashrc by accident which is bad.

OK, thanks for explaining (it’s been a while since I created a user
account ;-)).

> I can't find the source at the moment. But if you agree on my proposed
> change I'll digg it up.

Yes, sourcing the skeleton seems much safer to me as well.

Thanks,
Ludo’.




More information about the nix-dev mailing list