#!/hint/sh # ~/.profile: Sourced by the command interpreter for login shells # # 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=~' export HOME fi for file in "${XDG_CONFIG_HOME:-$HOME/.config}/login.d/"*.sh; do . "$file" done unset file