Method taken from this post. Additional info provided in this blog.
When migrating to a new computer, see section titled "Install your dotfiles onto a new system (or migrate to this setup)". Note that instead of .cfg
, you should use .dotfiles
in all the commands. You may also need to rename path in .zshrc
if account name is different.
Use config add -u
instead of config add -A
since the latter will add untracked files.