function __source_startup_files() { # source the global configution file local file="/etc/zshrc" if [ -r "$file" ]; then source "$file" fi # source every file readable in .zsh for file in $(find ".zsh" -type f -readable); do source "$file" done } __source_startup_files unset __source_startup_files ulimit -c unlimited