Things too good to lose :)
Consider switching to YADM
See a list of tools https://dotfiles.github.io/utilities/ See example repo with configs git@github.com:sheharyarn/dotfiles.git
ln -s ~/git/my_prefs/.zshrc ~/.zshrc
ln -s ~/git/my_prefs/.vimrc ~/.config/nvim/init.vim
ln -s ~/git/my_prefs/aliases ~/aliases
ln -s ~/git/my_prefs/aliases_functions ~/aliases_functions
ln -s ~/git/my_prefs/aliases_git ~/aliases_git
ln -s ~/git/my_prefs/aliases_docker ~/aliases_docker
ln -s ~/git/my_prefs/aliases_kube ~/aliases_kube
For a personal github account use a includeIf
statement
to reference the .gitconfig-personal
file
and change the ~/.ssh/config file to use a dedicated domain
Host github.com-personal
HostName github.com
User git
IdentityFile ~/.ssh/id_ed25519_personal
Note: the repository file .git/config needs to be updated to match the github.com-personal
domain