Automating dotfiles configuration syncing with symbolic link

An attempt to use symlink to solve file syncing problem I’m a Neovim user. I maintain my Neovim configuration under ~/.config/nvim, as this is the default location where Neovim looks for its configuration files. However, I also store these configuration files (potentially with other configuration files like ~.zshrc) in a Git repository under ~/dotfiles/ (i.e. ~/dotfiles/nvim for Neovim config) for version control and syncing with GitHub. The challenge is that I’ve been manually copying changes between those two directories, which quickly becomes tedious....

September 21, 2024 · 2 min · 290 words · Papattarada A. (Pun Pun)