#!/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