Created
September 28, 2018 17:14
-
-
Save oncomouse/a94cbb2136870e976059406fb1ebaa5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
## Get ready for fish: | |
sudo echo "/usr/local/bin/fish" >> /etc/shells | |
## Get ready for xcode/brew: | |
xcode-select --install | |
if test ! $(which brew); then | |
echo "Installing homebrew..." | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
fi | |
brew bundle install | |
## Diff-so-fancy Git stuff | |
git config --global color.diff-highlight.oldNormal "red bold" | |
git config --global color.diff-highlight.oldHighlight "red bold 52" | |
git config --global color.diff-highlight.newNormal "green bold" | |
git config --global color.diff-highlight.newHighlight "green bold 22" | |
## Configure Dropbox | |
# Maybe pause execution until it's input? | |
## Mackup | |
pip3 install mackup | |
mackup restore | |
## Setup Ruby | |
mkdir -p "$(rbenv root)"/plugins | |
git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build | |
git clone https://github.com/momo-lab/rbenv-install-latest.git "$(rbenv root)"/plugins/rbenv-install-latest | |
rbenv install-latest 1.8 | |
rbenv install-latest | |
rbenv global "$(rbenv versions | sed -e '$!d' -e 's/^[ \t]*//')" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cask_args appdir: '/Applications' | |
tap "heroku/brew" | |
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/core" | |
tap "homebrew/cask-fonts" | |
# Shell stuff | |
brew "fish" | |
brew "diff-so-fancy" | |
brew "thefuck" | |
brew "z" | |
brew "the_silver_searcher" | |
brew "fzf" | |
# Editor | |
brew "neovim" | |
# System | |
brew "dnsmasq" | |
brew "dnscrypt-proxy" | |
brew "coreutils" | |
brew "git" | |
brew "grep" | |
brew "tmux" | |
brew "openssh" | |
# Programming | |
brew "node" | |
brew "node-build" | |
brew "nodenv" | |
brew "python" | |
brew "rbenv" | |
brew "yarn" | |
brew "heroku/brew/heroku" | |
# Web Infrastructure | |
# brew "httpd" | |
# brew "php" | |
# brew "libyaml" | |
# Writing | |
brew "diction" | |
brew "pandoc" | |
brew "pandoc-citeproc" | |
# Other | |
brew "tree" | |
brew "wget" | |
cask "font-fira-code" | |
cask "font-dejavusansmono-nerd-font-mono" | |
#cask "atom" | |
cask "backblaze" | |
cask "caffeine" | |
cask "dropbox" | |
cask "flux" | |
cask "google-chrome" | |
#cask "iterm2" | |
cask "virtualbox" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment