Autoupdate vim plugins on login
This commit is contained in:
parent
1d999595d1
commit
6bc6b1b846
@ -1,6 +1,6 @@
|
|||||||
## $ZDOTDIR/.zlogin - Contains commands that should be executed only in login shells
|
## $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
|
for config_file ($ZDOTDIR/lib/30-*.zsh) source $config_file
|
||||||
|
|
||||||
## Run tasks in background
|
## Run tasks in background
|
||||||
@ -9,7 +9,7 @@ for config_file ($ZDOTDIR/lib/30-*.zsh) source $config_file
|
|||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
compinit
|
compinit
|
||||||
|
|
||||||
#Compile startup files
|
## Compile startup files
|
||||||
|
|
||||||
autoload -Uz zrecompile
|
autoload -Uz zrecompile
|
||||||
|
|
||||||
@ -30,6 +30,10 @@ for ((i=1; i <= $#fpath; ++i)); do
|
|||||||
done
|
done
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
## Update or install vim plugins
|
||||||
|
vim -i NONE +PlugUpdate +PlugClean! +qal
|
||||||
|
|
||||||
## Print some system info
|
## Print some system info
|
||||||
uname -npsr
|
uname -npsr
|
||||||
uptime
|
uptime
|
||||||
|
Loading…
Reference in New Issue
Block a user