Because ~/.config already existed, stow made the zsh symlink inside it. If ~/.config hadn't existed, stow would have symlinked it from ~/dotfiles/zsh.
To remove the symlinks stow set up:
stow -D zsh
I did eventually set up a wrapper script to pass a few default arguments to stow, to ignore certain files I use for documentation. But stow does all of the work of managing the symlinks.
My ~ directory tree, early on in setting up a new system, might look like:
When I want to use a package, I cd to ~/dotfiles and run: Running that sets up symlinks rooted one directory above, ~. Now ~ looks like: Because ~/.config already existed, stow made the zsh symlink inside it. If ~/.config hadn't existed, stow would have symlinked it from ~/dotfiles/zsh.To remove the symlinks stow set up:
I did eventually set up a wrapper script to pass a few default arguments to stow, to ignore certain files I use for documentation. But stow does all of the work of managing the symlinks.[1]: https://www.gnu.org/software/stow/manual/stow.html#Introduct...