Run initialSetup.sh for first time.
FILE: ~/.bash_profile
- Terminal coloring
- Git auto-complete setup
Optional files. Prefer to use git installed via brew using the command brew install git
- Git auto-completion library
- Downloaded from https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash
FILE: ~/.vimrc
- Vim setup
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew cask install clipy
- Add below line to
/etc/bashrc
export PROMPT_COMMAND="history -a | $PROMPT_COMMAND"
- Goto
System Preferences
->Mission Control
-> DisableAutomatically rearrange Spaces based on most recent use
- Below is the configuration will look like for multiple ssh config in
~/.ssh/config
# Default GitHub Host github.com HostName github.com PreferredAuthentications publickey IdentityFile ~/.ssh/id_rsa # Personal GitHub Host personal.github.com HostName github.com PreferredAuthentications publickey IdentityFile ~/.ssh/id_rsa_personal
- Add remotes using ssh protocol in cloned github repository. For example,
NOTE: Make sure to configure the email for each workspace. This will go as Github user for each commits.
# Default GitHub repo [remote "origin"] url = git@github.com:AnandkumarSP/MacSetup.git # Personal GitHub repo [remote "origin"] url = git@personal.github.com:AnandkumarSP/MacSetup.git
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
ssh-add -K ~/.ssh/id_rsa