Dotfiles managed by stow.
- Clone this repo into
$HOME(it has to be there). - Install
stow:brew install stow
- From inside the
dotfilesdirectory, run:stow .
Note that you need to mv/rm any existing files if they already exist, as
stow wants to replace them with symlinks.
Just move the config file from $HOME into the dotfiles dircectory, then
re-run stow . to recreate is as a symlink.
Note that you need to mimic the file & direcotry structure in dotfiles that
exists in $HOME, e.g.:
~/.profilebecomes~/dotfiles/.profile~/.config/nvim/becomes~/dotfiles/.config/nvim/
You can install all the packages in brew-packages.txt (generated using brew leaves) by using xargs brew install < brew-packages.txt