# ~/.profile: executed by the command interpreter for login shells. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login # exists. # see /usr/share/doc/bash/examples/startup-files for examples. # the files are located in the bash-doc package. # the default umask is set in /etc/profile; for setting the umask # for ssh logins, install and configure the #umask 023 SHELLRC_HOME="$(dirname $(readlink -f ${BASH_SOURCE[0]}))" # load all files from .shell/login.d directory if [ -d ${SHELLRC_HOME}/login.d ]; then for file in ${SHELLRC_HOME}/login.d/*.sh; do source ${file} done fi if [ -f ${HOME}/.bashrc ]; then source ${HOME}/.bashrc fi