Follow the link Mac Setup
Download Spectacle from here
Set
Spectacle
to run as background application in Preferences
Download Sublime from here
Create a shortcut so we can launch Sublime Text from the command-line
ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
Install
Package control
from here
Symlink sublime package settings
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
rm -r User
ln -s ~/dotfiles/sublime/User
mkdir workspace
Install Xcode from the App store.
xcode-select --install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Insert
/usr/local/bin
to the first line of/private/etc/paths
and reboot the Mac
# Fetch the newest version of Homebrew and all formulae from GitHub using
brew update
# List all installed formulae.
brew list
# Show formulae that have an updated version available.
brew outdated
# Upgrade outdated formulae
brew upgrade [formulae]
# Upgrade outdated, unpinned brews.
brew upgrade
brew update
brew install cocoapods
brew install git
Generate ssh key and add to the server
ssh-keygen -t rsa -C "sandeep@guggu.me"
symlink
.gitconfig
cd ~
ln -s ~/dotfiles/.gitconfig .
- Download latest stable iTerm from here
- Color Scheme: Solarized Dark High Contrast, included in Preferences file.
- Preferences: Open iTerm Preferences
- General -> Preferences -> Load preferences from custom folder or URL
- Select
com.googlecode.iterm2.plist
from the repository.
- Select
- General -> Preferences -> Load preferences from custom folder or URL
brew install zsh zsh-completions
chsh -s /usr/local/bin/zsh
You must log out and log back in to see this change.
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
Next create the
~/.zshrc
file by running
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done
Add modules by editing the
~/.zpreztorc
file
zstyle ':prezto:load' pmodule \
'environment' \
'terminal' \
'editor' \
'history' \
'directory' \
'spectrum' \
'utility' \
'completion' \
'git' \
'syntax-highlighting' \
'prompt'
Change theme to
paradox
zstyle ':prezto:module:prompt' theme 'paradox'
Source
env.sh
by editing~/.zshrc
# Add env.sh
source ~/dotfiles/env.sh
git clone https://github.com/lukechilds/zsh-nvm.git ~/.zsh-nvm
Then source it by editing
.zshrc
source ~/.zsh-nvm/zsh-nvm.plugin.zsh
NVM tips
# Upgrade nvm
nvm upgrade
# List all available node versions installed
nvm ls
# List v8 node versions available on remote
nvm ls-remote `v8`
# Install node stable or version specified
nvm install `stable|version`
# Use stable or version specified
nvm use `stable|version `
# Use .nvmrc file in repository to auto load node when changing directory
brew install yarn --ignore-dependencies