summaryrefslogtreecommitdiff
path: root/user/.zshrc
blob: 6b9a95c2aa40077b19a25410701743503651a39d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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