Refactor update function
This commit is contained in:
parent
196184bdab
commit
2c1ed8a741
1 changed files with 6 additions and 1 deletions
|
@ -126,7 +126,12 @@ dotsync() { cd $DOTREPO && gpull && ga && gc && gpush && cd $OLDPWD }
|
||||||
passync() { pass git pull && pass git push && updatesecrets }
|
passync() { pass git pull && pass git push && updatesecrets }
|
||||||
|
|
||||||
# update stuff
|
# update stuff
|
||||||
plugupdate() { vim +PlugUpgrade +PlugUpdate +CocUpdate +qa && zinit self-update && zinit update -p && $HOME/.tmux/plugins/tpm/bin/update_plugins all }
|
plugupdate() {
|
||||||
|
vim +PlugUpgrade +PlugUpdate +CocUpdate +qa
|
||||||
|
zinit self-update
|
||||||
|
zinit update -p
|
||||||
|
$HOME/.tmux/plugins/tpm/bin/update_plugins all
|
||||||
|
}
|
||||||
update() { yay -Syu --devel firefox-nightly }
|
update() { yay -Syu --devel firefox-nightly }
|
||||||
updateall() { update; plugupdate; sudo awman-update }
|
updateall() { update; plugupdate; sudo awman-update }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue