[Nix-dev] Defining system-wide shell aliases

Rickard Nilsson rickard.nilsson at telia.com
Tue Jul 24 17:00:29 CEST 2012


Hi,

I want to define system-wide shell aliases. environment.shellInit doesn't  
help me, since it is only run for login shells, and aliases are not  
inherited between processes. Essentially, I would like a way to put stuff  
into /etc/bashrc. Is it wise adding an option to NixOS for doing this  
(environment.shellSource or something)? Or can it be solved in some other  
way?


Regards,
   Rickard Nilsson


More information about the nix-dev mailing list