dotfiles/dot_scripts/reload.sh
MorganGeek 3a3fc30b8c fix technical debt + fine tune functions and hooks
- linting/fixing/formating
- utility for suggesting aliases now accepts parameters to change output
  size
- add helper to checkci
- add verify committer script to avoid committer with wrong git identify
2020-07-12 16:22:17 +02:00

30 lines
577 B
Bash
Executable File

#!/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
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
# OSX Defaults
case "$(uname -s)" in
Darwin)
sudo sh .macos
;;
esac
pip freeze >/Users/morganwattiez/Code/dotfiles/requirements.txt
bundle check