Add alias to update Prezto
This commit is contained in:
parent
7227c4f0be
commit
18c5cadae8
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
-----
|
||||
|
||||
|
|
3
init.zsh
3
init.zsh
|
@ -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)'
|
||||
|
|
Loading…
Add table
Reference in a new issue