Change update/upgrade functions.
This commit is contained in:
parent
7b5115e63f
commit
78afda2bde
@ -18,9 +18,14 @@ if [ $(command -v fd) ]; then
|
||||
fi
|
||||
|
||||
function ud() {
|
||||
wd dots
|
||||
git pull
|
||||
git submodule update -f
|
||||
wd dots && git pull
|
||||
for i in $XDG_DATA_HOME/repos/zsh_modules/*; do cd $i && git pull; done; cd
|
||||
vim -c "PlugUpdate" -c "PlugClean" -c "q" -c "q"
|
||||
rm -rf ~/go
|
||||
}
|
||||
function upgrade() {
|
||||
case $(lsb_release -i | awk '{print $3}') in
|
||||
Gentoo) eix-sync && eix-update && emerge -avuDU @world ;;
|
||||
VoidLinux) xbps-install -Su && xbps-remove -RoO ;;
|
||||
esac
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user