nixpkgs/modules/programs/bash
Peter Simons 8eca4db54a /etc/profile: do not add ~/bin to $PATH in system-wide init file
Users who want a user-specific bin directory to override system paths should
configure that in their user-specific ~/.bashrc, not in the system-wide init
file. The global file shouldn't add directories from user homes to $PATH
without knowing whether those actually exist or whether the users even want
them in $PATH. On my system, for example, there is no ~/bin, so I don't want my
$PATH to look for one. Removing an erroneous entry from $PATH is cumbersome,
but adding one is easy, so it feels better to err on the side of caution.

svn path=/nixos/trunk/; revision=31188
2011-12-31 12:56:45 +00:00
..
bash.nix switched all mergeOptionString to pkgs.lib.types.string 2011-12-29 00:51:35 +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 /etc/profile: do not add ~/bin to $PATH in system-wide init file 2011-12-31 12:56:45 +00:00