Set up a new system, and maintain current configurations. Symlinking to $HOME
is managed by Dotbot.
git config --global user.name "Rajit Banerjee"
git config --global user.email "brajit@amazon.com"
git clone git@github.com:rajitbanerjee/dotfiles ~/.dotfiles
mv ~/.gitconfig ~/.gitconfig_local
rm -rf ~/.bashrc ~/.zshrc
cd ~/.dotfiles && ./install
git config --global user.email "rajitbanerjee15@gmail.com"
exec $SHELL -l
setup-system-al2
# setup-system-ubuntu
# setup-system-mac
setup-coc-nvim
nvim
# install-mac-apps
The following configurations are specific to the user brajit
, and should be modified if used by others:
- nvim/coc-settings.json (
"java.jdt.ls.vmargs": "-javaagent:/home/brajit/.local/lib/lombok.jar"
) - vscode/settings.json (
"remote.SSH.configFile": "/Users/brajit/.ssh/config"
) - zshrc (
alias wp="cd /workplace/brajit"
) - ssh/config (
Hostname
)
Create a new SSH key for GitHub access:
ssh-keygen -t ed25519 -C "rajitbanerjee15@gmail.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
cat ~/.ssh/id_ed25519.pub
Paste the public key contents in a new SSH key under https://github.com/settings/keys.