Better resilience to missing components, have zplug handle loading of ~/.zsh/interactive scripts
This commit is contained in:
parent
df6164e3aa
commit
b825210c29
4 changed files with 6 additions and 5 deletions
|
@ -1 +1 @@
|
|||
for f in ~/.zsh/login/*; source $f
|
||||
for f in ~/.zsh/login/*(-.N); source $f
|
||||
|
|
|
@ -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
|
|
@ -1 +1 @@
|
|||
for f in ~/.zsh/all/*; source $f
|
||||
for f in ~/.zsh/all/*(-.N); source $f
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue