28 lines
465 B
Bash
Executable file
28 lines
465 B
Bash
Executable file
#!/bin/zsh
|
|
|
|
# Ask for the password up front
|
|
sudo -v
|
|
|
|
cd ~/.dotfiles
|
|
echo "Updating ALL the things!"
|
|
|
|
# Update these scripts!
|
|
echo-g "==> Updating dotfiles"
|
|
git pull | indent
|
|
|
|
# Updating the system with it's package manager (brew, apt-get, etc.)
|
|
echo-g "==> Updating installed packages"
|
|
pkg-update | indent
|
|
|
|
echo-g "==> Updating zsh, rvm and vim"
|
|
# Then the rest
|
|
{
|
|
install/zsh
|
|
echo
|
|
install/rvm
|
|
echo
|
|
install/vim
|
|
} | indent
|
|
|
|
echo-g "==> All done!"
|