fish: added upgrade function
This commit is contained in:
parent
2804aed8f4
commit
f2bee12648
1 changed files with 8 additions and 0 deletions
8
shells/fish/functions/upgrade.fish
Normal file
8
shells/fish/functions/upgrade.fish
Normal file
|
@ -0,0 +1,8 @@
|
|||
function upgrade --description "Upgrade the system"
|
||||
sudo apt-get update
|
||||
and sudo apt-get upgrade
|
||||
and sudo apt-get dist-upgrade
|
||||
and sudo apt-get autoremove
|
||||
sudo tlmgr update --self --all
|
||||
sudo npm update -g
|
||||
end
|
Loading…
Reference in a new issue