aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.zshrc
blob: 4d6f37d7a5249af9c8b748fb686a99299712ff8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Source environment
source $HOME/.config/zsh/environment.zsh

# Load plugins
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)

source $ZSH/oh-my-zsh.sh

# Source configurations
typeset -ga sources
sources+="$ZSH_CONFIG/environment.zsh"
sources+="$ZSH_CONFIG/prompt.zsh"
sources+="$ZSH_CONFIG/aliases.zsh"
 
foreach file (`echo $sources`)
    if [[ -a $file ]]; then
        source $file
    fi
end

# ===============================
for file in $ZSH_CONFIG/other/*; do
    source "$file"
done