X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=filesystem%2Fetc%2Fprofile.d%2Fenvironment.sh;h=8463ea13dcea3a0ce104f2fc46477ce7475c011a;hb=9a0f77b0495e6f2643d5646c54b4c99cf3118c67;hp=6191cb7eaf3c1958c9d832668f6cbc60a583f530;hpb=5a6e794f459b3e83b6d665e05d0ab0c8bc6cdfbe;p=distro-setup diff --git a/filesystem/etc/profile.d/environment.sh b/filesystem/etc/profile.d/environment.sh index 6191cb7..8463ea1 100644 --- a/filesystem/etc/profile.d/environment.sh +++ b/filesystem/etc/profile.d/environment.sh @@ -1,4 +1,8 @@ #!/bin/sh + +# Exports here get inherited by X, that is the only reason to do things +# here. However, they do not get sent with sl(). + if [ -f $HOME/path-add-function ]; then . $HOME/path-add-function path-add /usr/sbin /usr/local/sbin /a/exe /a/opt/bin @@ -155,6 +159,8 @@ fi # group, so if you copy files there with exact perms, that is probably # not what you want. I don't use a system like that, so I don't # care. +# +# Note: duplicated in .bashrc umask 022 # this is how we could test for non-system user