Commit de9f8ce60b

de9f8ce60bec35c72c3147c1fe621821970b6c4c

parent: 245139160b

Unsigned

cmc <hello@cleberg.net> · 2026-02-09 16:00 UTC

add stow -t flag example

Layout: unified · split

content/blog/2026-02-08-gnu-stow.org +9
@@ -55,6 +55,15 @@ mv ~/.zprofile ~/git/dotfiles/zsh/ && \
5555stow zsh
5656#+end_src
5757
58By default, Stow will symlink your files (e.g., ~zsh~) to the parent directory
59of the directory in which you execute the command. Since we're in the
60~~/git/dotfiles~ directory, we need to modify our ~stow~ command to ensure Stow
61symlinks the files to our home directory:
62
63#+begin_src sh
64stow -t ~ zsh
65#+end_src
66
5867At this point, you have a centralized directory (~/git/dotfiles~) where you can
5968stow any file and use ~stow~ to symlink it back to another directory on your
6069system.