2013-03-21 19:25:43 -07:00
|
|
|
#!/bin/zsh
|
|
|
|
|
2013-03-22 10:21:05 -07:00
|
|
|
# Ask for the password up front
|
|
|
|
sudo -v
|
|
|
|
|
2013-03-22 12:54:54 -07:00
|
|
|
cd ~/.dotfiles
|
|
|
|
echo "Updating ALL the things!"
|
2013-03-21 19:25:43 -07:00
|
|
|
|
2013-03-22 13:06:11 -07:00
|
|
|
# Update these scripts!
|
2013-03-22 18:09:52 -07:00
|
|
|
echo-g "==> Updating dotfiles"
|
|
|
|
git pull | indent
|
2013-03-22 12:54:54 -07:00
|
|
|
|
2013-03-22 10:21:05 -07:00
|
|
|
# Updating the system with it's package manager (brew, apt-get, etc.)
|
2013-03-22 18:09:52 -07:00
|
|
|
echo-g "==> Updating installed packages"
|
|
|
|
pkg-update | indent
|
2013-03-22 10:17:58 -07:00
|
|
|
|
2013-03-22 18:09:52 -07:00
|
|
|
echo-g "==> Updating zsh, rvm and vim"
|
2013-03-22 13:06:11 -07:00
|
|
|
# Then the rest
|
2013-03-22 18:09:52 -07:00
|
|
|
{
|
|
|
|
install/zsh
|
|
|
|
echo
|
|
|
|
install/rvm
|
|
|
|
echo
|
|
|
|
install/vim
|
|
|
|
} | indent
|
|
|
|
|
|
|
|
echo-g "==> All done!"
|