bash_profile 611 B

1234567891011121314151617181920
  1. # ~/.profile: executed by the command interpreter for login shells.
  2. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
  3. # exists.
  4. # see /usr/share/doc/bash/examples/startup-files for examples.
  5. # the files are located in the bash-doc package.
  6. # the default umask is set in /etc/profile; for setting the umask
  7. # for ssh logins, install and configure the
  8. #umask 023
  9. if [ -f ${HOME}/.bashrc ]; then
  10. source ${HOME}/.bashrc
  11. fi
  12. # load all files from .shell/login.d directory
  13. if [ -d ${HOME}/.shellrc/login.d ]; then
  14. for file in ${HOME}/.shellrc/login.d/*.sh; do
  15. source ${file}
  16. done
  17. fi