2013-11-24 17:52:33 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2013-12-31 13:54:47 +00:00
|
|
|
# install xcode and other software from the app store
|
|
|
|
# everything neccessary first - command line tools
|
|
|
|
xcode-select --install
|
|
|
|
|
|
|
|
# install homebrew
|
|
|
|
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
|
|
|
|
brew doctor
|
|
|
|
|
|
|
|
# tap the casks
|
2014-11-19 11:08:43 +00:00
|
|
|
brew install caskroom/cask/brew-cask
|
2013-12-31 13:54:47 +00:00
|
|
|
|
|
|
|
# brew paths
|
|
|
|
export HOMEBREW_CASK_OPTS="--appdir=/Applications"
|
|
|
|
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
|
|
|
|
|
|
|
|
# install some neccessary brew packages
|
|
|
|
brew install brew-cask
|
2014-12-16 17:21:41 +00:00
|
|
|
brew install clipper
|
2013-12-31 13:54:47 +00:00
|
|
|
brew install coreutils
|
2014-07-18 16:30:36 +00:00
|
|
|
brew install git
|
|
|
|
brew install macvim --with-cscope --with-lua --HEAD
|
|
|
|
brew install tmux
|
|
|
|
brew install zsh
|
2013-12-31 13:54:47 +00:00
|
|
|
|
2014-07-18 16:30:36 +00:00
|
|
|
brew cask install forklift
|
|
|
|
brew cask install iterm2
|
2013-12-31 13:54:47 +00:00
|
|
|
|
2014-01-01 16:07:20 +00:00
|
|
|
# set zsh to the default
|
|
|
|
sudo vim /etc/shells
|
|
|
|
chsh -s /usr/local/bin/zsh
|
|
|
|
/usr/bin/env zsh
|
|
|
|
sudo mv /etc/zshenv /etc/zprofile
|
|
|
|
|
2014-12-16 17:21:41 +00:00
|
|
|
# clipper
|
|
|
|
ln -sfv /usr/local/opt/clipper/*.plist ~/Library/LaunchAgents
|
|
|
|
|
2013-12-31 13:54:47 +00:00
|
|
|
# install all submodules
|
|
|
|
git submodule init
|
|
|
|
git submodule update
|
|
|
|
|
|
|
|
# link the dotfiles
|
2013-11-24 17:52:33 +00:00
|
|
|
ln -s ~/dotfiles/agignore ~/.agignore
|
2014-01-03 19:25:18 +00:00
|
|
|
ln -s ~/dotfiles/editorconfig ~/.editorconfig
|
2015-03-17 12:49:29 +00:00
|
|
|
ln -s ~/dotfiles/eslintrc ~/.eslintrc
|
2015-06-05 12:39:13 +00:00
|
|
|
ln -s ~/dotfiles/gemrc ~/.gemrc
|
2013-11-24 17:52:33 +00:00
|
|
|
ln -s ~/dotfiles/gitconfig ~/.gitconfig
|
|
|
|
ln -s ~/dotfiles/gitignore ~/.gitignore
|
|
|
|
ln -s ~/dotfiles/slate.js ~/.slate.js
|
|
|
|
ln -s ~/dotfiles/tmux.conf ~/.tmux.conf
|
|
|
|
ln -s ~/dotfiles/vim ~/.vim
|
|
|
|
ln -s ~/dotfiles/vimrc ~/.vimrc
|
2014-02-01 15:07:33 +00:00
|
|
|
ln -s ~/dotfiles/zsh ~/.zsh
|
2013-11-24 17:52:33 +00:00
|
|
|
ln -s ~/dotfiles/zshrc ~/.zshrc
|
|
|
|
|
2014-09-01 18:31:03 +00:00
|
|
|
# set xterm/screen terminals to enable italic fonts in terminal
|
2014-12-16 17:21:41 +00:00
|
|
|
ln -s ~/dotfiles/zsh/pure/pure.zsh /usr/local/share/zsh/site-functions/prompt_pure_setup
|
|
|
|
tic ~/dotfiles/terminfo/screen-256color-italic.terminfo
|
|
|
|
tic ~/dotfiles/terminfo/xterm-256color-italic.terminfo
|
2014-09-01 18:31:03 +00:00
|
|
|
|
|
|
|
# set iterm terminal to xterm-256color-italic and enable italics!
|
2014-01-01 16:07:20 +00:00
|
|
|
# now restart your terminal/iterm2 and hope for the best
|