blob: 538920a7198e226746396e2c3910e5c7fda731ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/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.
if [ -z "$HOME" ]; then
eval 'HOME=~'
export HOME
fi
for file in "${XDG_CONFIG_HOME:-$HOME/.config}/login.d/"*.sh; do
. "$file"
done
unset file
|