dotfiles/dot_scripts/bootstrap.sh

52 lines
1.2 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 ~/Code
ln -snf ~/Code/dotfiles/dot_scripts ~/.scripts
chmod +x ~/.scripts/*.sh
~/.scripts/install_linux_packages.sh
~/.scripts/install_homebrew.sh
# Path to ruby
export PATH="/usr/local/opt/ruby/bin:$PATH"
# Create symbolic links
~/.scripts/symbolic_links.sh
# Install user applications
~/.scripts/install_macpackages.sh
~/.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)"
~/.scripts/sdkmandeps.sh
~/.scripts/rubydeps.sh
~/.scripts/bundlerdeps.sh
~/.scripts/ohmyzshdeps.sh
~/.scripts/vimdeps.sh
~/.scripts/install_no-more-secrets.sh
~/.scripts/load_macos_defaults.sh
~/.scripts/configure_etc_hosts.sh
~/.scripts/pythondeps.sh
~/.scripts/install_baton.sh
~/.scripts/rustdeps.sh
~/.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
~/.scripts/godeps.sh
~/.scripts/install_weavescope.sh
~/.scripts/install_bashtop.sh
~/.scripts/install_awsls.sh
~/.scripts/configure_git_hooks.sh
~/.scripts/upgrade.sh
~/.scripts/reload.sh