January 2, 2020
GNU stow is symlink manager that links data (e.g.,
.vimrc
, .zshrc
, or any file for that matter)
in the system into a single directory.
brew install stow
stow
mkdir dotfiles cd dotfiles
.rc
files.mkdir vim
.rc
files into dotfiles
directorymv .vimrc <path to dotfiles>/vim/
stow -v -R -t $HOME <path to dotfiles>/vim
-v
flag indicates verbose-R
is recursive-t $HOME
is target directory where we the symlinked
file to appear<path to dotfiles>/vim
is where the actual file
is located