dotfiles/dot_scripts/bootstrap.sh

52 lines
1.4 KiB
Bash
Raw Normal View History

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."
# Make sure Code directory exists
echo "mkdir -p $HOME/Code"
mkdir -p "$HOME/Code"
ln -snf "$HOME/Code/dotfiles/dot_scripts" "$HOME/.scripts"
chmod +x "$HOME/.scripts/*.sh"
"$HOME/.scripts/install_linux_packages.sh"
"$HOME/.scripts/install_homebrew.sh"
# Path to ruby
export PATH="/usr/local/opt/ruby/bin:$PATH"
# Create symbolic links
"$HOME/.scripts/symbolic_links.sh"
# Install user applications
"$HOME/.scripts/install_macpackages.sh"
"$HOME/.scripts/install_linux_user_apps.sh"
# 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)"
"$HOME/.scripts/sdkmandeps.sh"
"$HOME/.scripts/rubydeps.sh"
"$HOME/.scripts/bundlerdeps.sh"
"$HOME/.scripts/ohmyzshdeps.sh"
"$HOME/.scripts/vimdeps.sh"
"$HOME/.scripts/install_no-more-secrets.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
"$HOME/.scripts/godeps.sh"
"$HOME/.scripts/install_weavescope.sh"
"$HOME/.scripts/install_bashtop.sh"
"$HOME/.scripts/install_awsls.sh"
"$HOME/.scripts/configure_git_hooks.sh"
"$HOME/.scripts/upgrade.sh"
"$HOME/.scripts/reload.sh"