dotfiles/dot_scripts/upgrade.sh

32 lines
863 B
Bash
Raw Permalink Normal View History

2019-08-17 11:38:33 +00:00
#!/usr/bin/env zsh
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$SDKMAN_DIR/bin/sdkman-init.sh" ]] && source "$SDKMAN_DIR/bin/sdkman-init.sh"
2019-07-25 19:38:04 +00:00
sdk selfupdate
# Upgrade
echo "Upgrading apps"
# Upgrading HomeBrew stuff
case "$(uname -s)" in
2020-07-20 09:40:54 +00:00
Darwin)
echo "(Mac OS X) Homebrew upgrading stuff"
brew update
#brew upgrade
brew outdated | xargs brew upgrade
;;
esac
2019-07-25 19:38:04 +00:00
2019-08-09 02:02:55 +00:00
bundle update --all
#gem update --system
#gem update asciidoctor-pdf t
2019-08-17 11:38:33 +00:00
zsh ~/.oh-my-zsh/tools/upgrade.sh
sudo pip install --upgrade pip 2>/dev/null
sudo pip3 install --upgrade pip 2>/dev/null
2020-07-18 14:55:52 +00:00
pip list --outdated --format=freeze G -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
2020-02-15 14:16:45 +00:00
pip freeze >~/requirements.txt
# Update VIM plugins installed via Vundle https://github.com/VundleVim/Vundle.vim
2020-02-15 14:16:45 +00:00
vim +PluginUpdate +qall >/dev/null
2020-07-19 10:15:34 +00:00
rustup update
2020-07-03 05:19:29 +00:00
npm update -g moro
pre-commit autoupdate