cmc/cleberg.net
My personal web garden & blog.
clone: git clone https://gitbay.org/cmc/cleberg.net.git
b417650dbea1f766322b284ed7a780cb80fe6503
unsigned
author: Christian Cleberg <hello@cleberg.net> · 2026-02-09T18:42:29Z
content/blog/2026-02-08-gnu-stow.org | 9 +++++++++ 1 file changed, 9 insertions(+) @@ -55,6 +55,15 @@ mv ~/.zprofile ~/git/dotfiles/zsh/ && \ stow zsh #+end_src +By default, Stow will symlink your files (e.g., ~zsh~) to the parent directory +of the directory in which you execute the command. Since we're in the +~~/git/dotfiles~ directory, we need to modify our ~stow~ command to ensure Stow +symlinks the files to our home directory: + +#+begin_src sh +stow -t ~ zsh +#+end_src + At this point, you have a centralized directory (~/git/dotfiles~) where you can stow any file and use ~stow~ to symlink it back to another directory on your system.