Autoupdate vim plugins on login

This commit is contained in:
Christian Baer 2020-07-02 15:14:24 +02:00
parent 1d999595d1
commit 6bc6b1b846

View File

@ -1,6 +1,6 @@
## $ZDOTDIR/.zlogin - Contains commands that should be executed only in login shells
# Load config files in $ZSH/lib that for stage 3
## Load config files in $ZSH/lib that for stage 3
for config_file ($ZDOTDIR/lib/30-*.zsh) source $config_file
## Run tasks in background
@ -9,7 +9,7 @@ for config_file ($ZDOTDIR/lib/30-*.zsh) source $config_file
autoload -Uz compinit
compinit
#Compile startup files
## Compile startup files
autoload -Uz zrecompile
@ -30,6 +30,10 @@ for ((i=1; i <= $#fpath; ++i)); do
done
)
## Update or install vim plugins
vim -i NONE +PlugUpdate +PlugClean! +qal
## Print some system info
uname -npsr
uptime