/configs

Some personal configs

Primary LanguageShell

Using configs

New Mac?

  1. Don't forget to change your default shell.
chsh -s /bin/bash
  1. Install git on MacOS just by running git in the terminal.

  2. Add your ssh key to Github

Clone this repo

mkdir ~/repos/
cd ~/repos/
git clone https://github.com/chrisbolin/configs

bash.sh

echo "source ~/repos/configs/bash.sh" > ~/.bash_profile
echo "source ~/repos/configs/bash.git.sh" >> ~/.bash_profile
exec bash -l

vs-code.json

cp ~/repos/configs/vs-code.json ~/Library/Application\ Support/Code/User/settings.json

git

These are git options, not aliases (which are covered in bash.git.sh above. Overwrite .gitconfig.

cp ~/repos/configs/git ~/.gitconfig

vim

cp .vimrc ~

Updating configs

To update git with new config changes, just reverse the cp commands above:

cp ~/Library/Application\ Support/Code/User/settings.json ~/repos/configs/vs-code.json
cp ~/.gitconfig ~/repos/configs/git