Add alias to update Prezto

This commit is contained in:
Fabio Perez 2016-02-22 13:55:20 -03:00
parent 7227c4f0be
commit 18c5cadae8
2 changed files with 7 additions and 0 deletions

View file

@ -46,6 +46,10 @@ Pull the latest changes and update submodules.
git pull && git submodule update --init --recursive
Or use the alias:
prezto-update
Usage
-----

View file

@ -111,3 +111,6 @@ unset zfunction{s,}
zstyle -a ':prezto:load' pmodule 'pmodules'
pmodload "$pmodules[@]"
unset pmodules
# Set alias to update Prezto.
alias prezto-update='(cd "${ZDOTDIR:-$HOME}/.zprezto/"; git pull && git submodule update --init --recursive)'