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