X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.profile;h=2fd98f0219105c778ceaf0cbe52be446fd3fe5fd;hp=a7d8c018b4ce08df328e1213a80e9ecedcdf89df;hb=f31430bb4189af8383ddbd4456ee0684c4174d75;hpb=910acd1ad89b405797090e2d78f1e157fcbf06ec diff --git a/.profile b/.profile index a7d8c01..2fd98f0 100644 --- a/.profile +++ b/.profile @@ -17,7 +17,7 @@ fi ### umask sets a mask for the default file permissions, ### umask 022 is less restrictive, 077 more paranoid -umask 027 +umask 077 PATH="$HOME"/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin MANPATH="$HOME"/man:/usr/local/man:/usr/share/man:/usr/man @@ -62,14 +62,16 @@ if [ -t 0 ] ; then case "$TERM" in linux) - # mutt, vim and python + # mutt, python and vim BACKGROUND=DARK export BACKGROUND + . "$HOME"/lib/config/less/dark_bg ;; *rxvt*|screen*|*term*|vt100) BACKGROUND=LIGHT export BACKGROUND + . "$HOME"/lib/config/less/light_bg ;; esac @@ -182,9 +184,10 @@ fi #export DISPLAY if [ -n "$DISPLAY" ]; then - # mutt, vim and python + # mutt, python and vim BACKGROUND=LIGHT export BACKGROUND + . "$HOME"/lib/config/less/light_bg # BROWSERs BROWSER="firefox:seamonkey:chromium:google-chrome:opera:xlinks2:$BROWSER"