dotfiles/dot_scripts/upgrade.sh

28 lines
815 B
Bash
Raw 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
# Upgrading HomeBrew stuff
case "$(uname -s)" in
2020-07-03 05:19:29 +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-02-15 14:16:45 +00:00
pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
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
2019-11-16 12:29:52 +00:00
rustup-update
2020-07-03 05:19:29 +00:00
npm update -g moro