2019-08-17 11:38:33 +00:00
|
|
|
#!/usr/bin/env zsh
|
2019-08-11 08:46:37 +00:00
|
|
|
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
|
2019-12-01 16:21:08 +00:00
|
|
|
|
2020-07-11 10:25:30 +00:00
|
|
|
# Upgrade
|
|
|
|
echo "Upgrading apps"
|
|
|
|
|
2019-12-01 16:21:08 +00:00
|
|
|
# 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
|
|
|
|
;;
|
2019-12-01 16:21:08 +00:00
|
|
|
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
|
2021-06-07 09:49:58 +00:00
|
|
|
zsh ~/.oh-my-zsh/tools/upgrade.sh || upgrade_oh_my_zsh
|
2019-08-17 20:26:53 +00:00
|
|
|
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
|
2019-08-17 20:26:53 +00:00
|
|
|
# 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
|
2020-07-11 10:25:30 +00:00
|
|
|
pre-commit autoupdate
|