X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=filesystem%2Fetc%2Fprofile.d%2Fenvironment.sh;h=d91cde11069208606a797a4c76078c6ee812685c;hb=2cff2dd2b8040e6cbd721932ae09142881d7e0a6;hp=6a1dff0d6c2d8500f2f0c2d6bcdd27e0b885027c;hpb=f0a35267f28e274ef3c2f63ffc20a26ca864e37c;p=distro-setup diff --git a/filesystem/etc/profile.d/environment.sh b/filesystem/etc/profile.d/environment.sh index 6a1dff0..d91cde1 100644 --- a/filesystem/etc/profile.d/environment.sh +++ b/filesystem/etc/profile.d/environment.sh @@ -1,7 +1,7 @@ if [ -f $HOME/path_add-function ]; then . $HOME/path_add-function - path_add /usr/sbin /usr/local/sbin /sbin - path_add /a/exe /a/opt/bin $HOME/.cabal/bin + path_add /usr/sbin /usr/local/sbin /sbin /a/exe /a/opt/bin + path_add --end $HOME/.cabal/bin if [ -r /etc/alternatives/java_sdk ]; then export JAVA_HOME=/etc/alternatives/java_sdk @@ -60,6 +60,9 @@ fi # ubuntu has 002 for non-system users, debian has 022. 002 makes groups # be rw instead of r. # +# I think the actual setting is somewhere in the pam settings, I haven't +# bothered to figure that out. +# # ubuntu is more user friendly when using multiple users. However, # it also makes it so if you create a file as a regular user then move # it to become a system file, it's got slightly wrong permissions, and