3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/modules
Peter Simons 432d71f3ed modules/programs/bash: major clean-up and re-factoring of /etc/profile and /etc/bashrc
* Moved bash-specific code from /etc/profile to /etc/bashrc.

 * Moved general Bourne shell code from /etc/bashrc to /etc/profile.

 * Added "include guards" to both files to ensure that they aren't sourced
   multiple times (which would result in lots of redundancy in $PATH, etc.).

 * Both files include each other to make sure that the correct system
   environment is always defined.

 * When the current user has installed the 'bash-completion' package in her
   $HOME/.nix-profile, programmable completion is automatically enabled in
   interactive shells.

 * The /etc/skel/.bashrc we installed has been dropped because it is redundant.

svn path=/nixos/trunk/; revision=29451
2011-09-23 14:21:36 +00:00
..
config strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
hardware strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
installer strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
misc strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
profiles modules/profiles/base.nix: Added gptfdisk. 2011-09-17 13:09:38 +00:00
programs modules/programs/bash: major clean-up and re-factoring of /etc/profile and /etc/bashrc 2011-09-23 14:21:36 +00:00
security strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
services cups: fix smb backend 2011-09-20 07:14:27 +00:00
system * Properly shut down udevd in stage 1. Otherwise there is a slight 2011-09-22 08:26:58 +00:00
tasks strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
testing strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
virtualisation strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
module-list.nix * Add a module for a Flash policy server. 2011-09-15 15:13:46 +00:00
rename.nix * Make `services.sshd.enable' an alias rather than an obsolete option. 2010-12-14 11:48:07 +00:00