zlogin 223 B

12345678
  1. # load all files from .shell/login.d directory
  2. SHELLRC_HOME="$(dirname $(readlink -f ${BASH_SOURCE[0]}))"
  3. if [ -d ${SHELLRC_HOME}/login.d ]; then
  4. for file in ${SHELLRC_HOME}/login.d/*.sh; do
  5. source ${file}
  6. done
  7. fi