updates config files
This commit is contained in:
parent
30bdbaff30
commit
1e9aaa8d3f
|
@ -1,8 +1,31 @@
|
|||
# shell built-ins
|
||||
alias cat = bat
|
||||
|
||||
# toot aliases
|
||||
alias tt = toot tui
|
||||
alias ts = toot search
|
||||
alias tf = toot follow
|
||||
|
||||
# cargo aliases
|
||||
alias clc = cargo-install-update install-update -l
|
||||
alias cua = cargo-install-update install-update --all
|
||||
|
||||
# update functions
|
||||
def gdup [] { ls | get name | each { |dir| cd $dir; git pull; cd .. } }
|
||||
def upin [] {
|
||||
echo "Start apt, cargo and rustup upgrade:\n"
|
||||
sudo apt-get update
|
||||
echo "\nListing new package upgrades\n"
|
||||
sudo apt list --upgradable
|
||||
echo "\nDone listing new package upgrades starting package upgrade\n"
|
||||
sudo apt-get upgrade -y
|
||||
echo "\nAutoremoving unnecessary packages\n"
|
||||
sudo apt autoremove -y
|
||||
echo "\nDone apt starting cargo\n"
|
||||
cargo-install-update install-update --all
|
||||
echo "\nDone cargo starting rustup\n"
|
||||
rustup self update
|
||||
echo "\nDone rustup starting gem\n"
|
||||
sudo gem update --verbose
|
||||
echo "\nFinished updates."
|
||||
}
|
||||
|
|
29
install.sh
29
install.sh
|
@ -1,29 +0,0 @@
|
|||
echo "Start apt, cargo and rustup upgrade:\n"
|
||||
|
||||
sudo apt-get update
|
||||
|
||||
echo "\nListing new package upgrades\n"
|
||||
|
||||
sudo apt list --upgradable
|
||||
|
||||
echo "\nDone listing new package upgrades starting package upgrade\n"
|
||||
|
||||
sudo apt-get upgrade -y
|
||||
|
||||
echo "\nAutoremoving unnecessary packages\n"
|
||||
|
||||
sudo apt autoremove -y
|
||||
|
||||
echo "\nDone apt starting cargo\n"
|
||||
|
||||
cargo-install-update install-update --all
|
||||
|
||||
echo "\nDone cargo starting rustup\n"
|
||||
|
||||
rustup self update
|
||||
|
||||
echo "\nDone rustup starting gem\n"
|
||||
|
||||
sudo gem update --verbose
|
||||
|
||||
echo "\nFinished updates."
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue