diff --git a/home/.zprofile b/home/.zprofile index 1fc9148..1215e1d 100644 --- a/home/.zprofile +++ b/home/.zprofile @@ -1 +1 @@ -for f in ~/.zsh/login/*; source $f +for f in ~/.zsh/login/*(-.N); source $f diff --git a/home/.zsh/interactive/_zplug b/home/.zsh/zplug similarity index 90% rename from home/.zsh/interactive/_zplug rename to home/.zsh/zplug index baf3b2a..89837bd 100644 --- a/home/.zsh/interactive/_zplug +++ b/home/.zsh/zplug @@ -2,7 +2,7 @@ if [[ ! -f ~/.zplug/repos/zplug/zplug/init.zsh ]]; then git clone https://github.com/zplug/zplug ~/.zplug/repos/zplug/zplug fi -source ~/.zplug/repos/zplug/zplug/init.zsh +source ~/.zplug/repos/zplug/zplug/init.zsh zplug zplug/zplug zplug willghatch/zsh-saneopt @@ -22,5 +22,6 @@ apply-trapd00r-colors() { zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} } +zplug ~/.zsh/interactive/\*, from:local zplug check || zplug install zplug load diff --git a/home/.zshenv b/home/.zshenv index 5cd9d0f..375d910 100644 --- a/home/.zshenv +++ b/home/.zshenv @@ -1 +1 @@ -for f in ~/.zsh/all/*; source $f +for f in ~/.zsh/all/*(-.N); source $f diff --git a/home/.zshrc b/home/.zshrc index cf22121..c6a4845 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -1,2 +1,2 @@ -for f in ~/.zsh/interactive/*; source $f -[[ -o login ]] && for f in ~/.zsh/interactive+login/*; source $f +source ~/.zsh/zplug +[[ -o login ]] && for f in ~/.zsh/interactive+login/*(-.N); source $f