dotfiles/dot_scripts/reload.sh
Morgan Wattiez 8b37f99a80 Compatibility with CentOS + improve robustness
* Improve support on Linux (CentOS)
* Improve scripts general stability after testing it on Linux
* Install no-more-secrets (for fun)
* Upgrade some dependencies (sdkman)
2019-08-11 10:46:37 +02:00

14 lines
298 B
Bash

#!/usr/bin/env zsh
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$SDKMAN_DIR/bin/sdkman-init.sh" ]] && source "$SDKMAN_DIR/bin/sdkman-init.sh"
chmod +x ~/.scripts/*.sh
source ~/.zshrc
sdk use java 8.0.222-zulu
brew bundle
# OSX Defaults
case "$(uname -s)" in
Darwin)
sudo sh .macos
;;
esac