2019-11-22 22:58:28 +00:00
|
|
|
#!/usr/bin/env bash
|
2019-12-01 11:01:19 +00:00
|
|
|
|
|
|
|
echo "Hello $(whoami)! Let's get you set up."
|
|
|
|
|
2020-07-11 10:25:30 +00:00
|
|
|
# Make sure Code directory exists
|
2019-12-01 16:21:08 +00:00
|
|
|
echo "mkdir -p $HOME/Code"
|
2020-07-12 14:19:25 +00:00
|
|
|
mkdir -p "$HOME/Code"
|
|
|
|
ln -snf "$HOME/Code/dotfiles/dot_scripts" "$HOME/.scripts"
|
|
|
|
chmod +x "$HOME/.scripts/*.sh"
|
2019-08-11 08:46:37 +00:00
|
|
|
|
2020-07-12 14:19:25 +00:00
|
|
|
"$HOME/.scripts/install_linux_packages.sh"
|
|
|
|
"$HOME/.scripts/install_homebrew.sh"
|
2019-08-11 08:46:37 +00:00
|
|
|
|
2020-06-24 07:51:04 +00:00
|
|
|
# Path to ruby
|
|
|
|
export PATH="/usr/local/opt/ruby/bin:$PATH"
|
|
|
|
|
2019-08-11 08:46:37 +00:00
|
|
|
# Create symbolic links
|
2020-07-12 14:19:25 +00:00
|
|
|
"$HOME/.scripts/symbolic_links.sh"
|
2019-12-01 16:21:08 +00:00
|
|
|
|
2020-07-11 10:25:30 +00:00
|
|
|
# Install user applications
|
2020-07-12 14:19:25 +00:00
|
|
|
"$HOME/.scripts/install_macpackages.sh"
|
|
|
|
"$HOME/.scripts/install_linux_user_apps.sh"
|
2019-08-11 08:46:37 +00:00
|
|
|
|
|
|
|
# Switch to ZSH
|
2019-12-01 11:01:19 +00:00
|
|
|
echo "switching to ZSH"
|
2020-02-15 14:16:45 +00:00
|
|
|
command -v zsh >>/etc/shells
|
2019-12-01 11:01:19 +00:00
|
|
|
chsh -s "$(command -v zsh)"
|
2019-08-11 08:46:37 +00:00
|
|
|
|
2020-07-12 14:19:25 +00:00
|
|
|
"$HOME/.scripts/sdkmandeps.sh"
|
|
|
|
"$HOME/.scripts/rubydeps.sh"
|
|
|
|
"$HOME/.scripts/bundlerdeps.sh"
|
|
|
|
"$HOME/.scripts/ohmyzshdeps.sh"
|
|
|
|
"$HOME/.scripts/vimdeps.sh"
|
|
|
|
"$HOME/.scripts/load_macos_defaults.sh"
|
|
|
|
"$HOME/.scripts/configure_etc_hosts.sh"
|
|
|
|
"$HOME/.scripts/pythondeps.sh"
|
|
|
|
"$HOME/.scripts/install_baton.sh"
|
|
|
|
"$HOME/.scripts/rustdeps.sh"
|
|
|
|
"$HOME/.scripts/npmdeps.sh"
|
2020-02-15 14:16:45 +00:00
|
|
|
|
|
|
|
terraform-docs completion zsh >/usr/local/share/zsh/site-functions/_terraform-docs
|
|
|
|
autoload -U compinit && compinit
|
|
|
|
|
2020-07-12 14:19:25 +00:00
|
|
|
"$HOME/.scripts/godeps.sh"
|
|
|
|
"$HOME/.scripts/install_weavescope.sh"
|
|
|
|
"$HOME/.scripts/install_bashtop.sh"
|
|
|
|
"$HOME/.scripts/install_awsls.sh"
|
2021-06-07 07:51:26 +00:00
|
|
|
"$HOME/.scripts/install_bach.sh" # Bash testing framework
|
|
|
|
"$HOME/.scripts/install_broot.sh"
|
2020-07-12 14:19:25 +00:00
|
|
|
"$HOME/.scripts/configure_git_hooks.sh"
|
|
|
|
"$HOME/.scripts/upgrade.sh"
|
|
|
|
"$HOME/.scripts/reload.sh"
|