Fixed source ordering in load.sh & .zshrc

This commit is contained in:
2022-10-20 14:03:45 -05:00
parent a41f19ab2b
commit 4a3bbdc72e
2 changed files with 12 additions and 7 deletions

View File

@ -1,10 +1,12 @@
source /etc/toolkit/sh/load.sh
TOOLKIT=/etc/toolkit
ZSH=$TOOLKIT/sh/ohmyzsh
ZSH_THEME="bira"
ZSH_CUSTOM_USER_SCRIPTS=$HOME/.zsh-scripts
ZSH_CACHE_DIR=$HOME/.zsh-cache
source $ZSH/oh-my-zsh.sh
source $TOOLKIT/sh/load.sh
ENABLE_CORRECTION="true"
COMPLETION_WAITING_DOTS="true"
@ -18,5 +20,3 @@ create_dir_if_not_exists $ZSH_CUSTOM_USER_SCRIPTS
create_dir_if_not_exists $ZSH_CACHE_DIR
load_scripts_in_dir $ZSH_CUSTOM_USER_SCRIPTS
source $ZSH/oh-my-zsh.sh