dotfiles/dot_scripts/reload.sh

30 lines
577 B
Bash
Raw Permalink Normal View History

2019-07-25 19:38:04 +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"
# shellcheck disable
# Reload
echo "Reloading config"
chmod +x ~/.scripts/*.sh
2019-07-25 19:38:04 +00:00
source ~/.zshrc
sdk use java 8.0.222-zulu
# Homebrew reloading stuff
case "$(uname -s)" in
Darwin)
echo "(Mac OS X) Homebrew reloading stuff"
brew bundle
;;
esac
2019-07-25 19:38:04 +00:00
# OSX Defaults
case "$(uname -s)" in
Darwin)
sudo sh .macos
;;
esac
2020-02-15 14:16:45 +00:00
pip freeze >/Users/morganwattiez/Code/dotfiles/requirements.txt
2019-08-18 14:26:28 +00:00
bundle check