nixpkgs/modules/programs/bash
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
..
bash.nix modules/programs/bash: major clean-up and re-factoring of /etc/profile and /etc/bashrc 2011-09-23 14:21:36 +00:00
bashrc.sh modules/programs/bash: major clean-up and re-factoring of /etc/profile and /etc/bashrc 2011-09-23 14:21:36 +00:00
inputrc * Moved the Bash configuration to modules/programs/bash. 2009-05-28 12:06:54 +00:00
profile.sh modules/programs/bash: major clean-up and re-factoring of /etc/profile and /etc/bashrc 2011-09-23 14:21:36 +00:00