summaryrefslogtreecommitdiff
path: root/.config/login.sh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-04-20 19:37:22 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-04-20 19:37:22 -0400
commit92cc88c0668655155e9b63d8f43f51b12410fdff (patch)
tree8f4d21ec67e5045585bc7acb6baf7b12494a7f89 /.config/login.sh
parent278000a3b8a64fd000ddd8198f76bd2bf78e4557 (diff)
parenta9fb80359a3e84ed7b64d3ecdf699acc5e53abc9 (diff)
Merge branch 'master' into build64-par/master
Diffstat (limited to '.config/login.sh')
-rw-r--r--.config/login.sh17
1 files changed, 6 insertions, 11 deletions
diff --git a/.config/login.sh b/.config/login.sh
index 538920a..9499299 100644
--- a/.config/login.sh
+++ b/.config/login.sh
@@ -1,15 +1,10 @@
-#!/bin/bash
-# ~/.profile: executed by the command interpreter for login shells.
-# I like that graphical login scripts be configured to load this, so
-# it always runs, graphical or not.
+#!/hint/sh
+# ~/.profile: Sourced by the command interpreter for login shells
#
-# This file should be executable by /bin/sh, but I'm going to assume bash(1)
-#
-# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
-# exists.
-
-# the default umask is set in /etc/profile; for setting the umask
-# for ssh logins, install and configure the libpam-umask package.
+# Other ~/.*profile scripts may take precedence, or be used instead
+# (for example: ~/.bash_{profile,login} takes precidence, and
+# ~/.xprofile is used for graphical logins). I dislike duplication,
+# so I have them all configured to source this.
if [ -z "$HOME" ]; then
eval 'HOME=~'