summaryrefslogtreecommitdiff
path: root/.config/login.sh
blob: 353861a51899b126c11297dba60a0c07b2d3cde4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# ~/.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.
#
# 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.

for file in "${XDG_CONFIG_HOME:-$HOME/.config}/login.d/"*.sh; do
	. "$file"
done
unset file