Skip to content

Commit

Permalink
Add bootstrap script
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianBland committed Feb 13, 2021
1 parent 9db510b commit ddad566
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions bootstrap.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
set -e

# install homebrew
which brew || /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# install oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

# install zsh plugins
git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

# install zsh theme
git clone https://github.com/geometry-zsh/geometry.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/geometry

# install neovim
brew install neovim

# install diff-so-fancy
brew install diff-so-fancy

# release the kraken
(
cd dotfiles
for dotfile in .*; do
cp -r $dotfile ~/
done
)

0 comments on commit ddad566

Please sign in to comment.