Last active
May 28, 2019 20:13
-
-
Save oncomouse/01e6d25e02776ae0e2bd9d96c304a6bd 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" | |
## Install AppStore Apps | |
mas install 937984704 | |
## 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]*//')" | |
## Setup $TERM | |
tic -x ./tmux-256color.terminfo |
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 "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" | |
# Writing | |
brew "diction" | |
brew "pandoc" | |
brew "pandoc-citeproc" | |
# Other | |
brew "tree" | |
brew "wget" | |
brew "mas" | |
cask "font-fira-code" | |
cask "font-dejavusansmono-nerd-font-mono" | |
cask "backblaze" | |
cask "dropbox" | |
cask "flux" | |
cask "google-chrome" | |
cask "iterm2" | |
cask "virtualbox" | |
cask "slack" |
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
tmux-256color|tmux with 256 colors, | |
ritm=\E[23m, rmso=\E[27m, stim=\E[3m, smso=\E[7m, Ms@, | |
khome=\E[1~, kend=\E[4~, | |
use=xterm-256color, use=screen-256color, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment