# to see the diff between two files
diff
Install the github and:
git auth login # with one account
git auth login # with another account
git auth switch # to change between them
Add this to the ~/.ssh/config
file:
# GitHub personal
Host personal
HostName github.com
AddKeysToAgent yes
UseKeyChain yes
IdentityFile ~/.ssh/personal
IdentitiesOnly yes
# GitHub work
Host work
HostName github.com
AddKeysToAgent yes
UseKeyChain yes
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
Then, when you clone a repository, make sure you modify the origin
accordingly:
git remote remove origin
git remote add origin git@<personal|work>:<owner>/<repository>.git
brew install zoxide
brew install lazygit
This is the syslink farm to keep all the configuration files linked with the ones in the repository. Source.
You can check .stow-local-ignore
.
sudo apt-get install stow
brew install stow # macos
This is needed to support search in neovim.
brew install ripgrep
brew install fd
brew install pyenv
brew install tmux
We also need to install the tmux plugin manager:
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
Remember to press <leader>I
(the leader key in my configuration is <C-s>
) to install the tmux plugins.
brew install neovim
brew install ruby
gem install colorls