Commit b417650dbe
Unsigned
Layout: unified · split
content/blog/2026-02-08-gnu-stow.org +9
| @@ -55,6 +55,15 @@ mv ~/.zprofile ~/git/dotfiles/zsh/ && \ | ||
| 55 | 55 | stow zsh |
| 56 | 56 | #+end_src |
| 57 | 57 | |
| 58 | By default, Stow will symlink your files (e.g., ~zsh~) to the parent directory | |
| 59 | of 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 | |
| 61 | symlinks the files to our home directory: | |
| 62 | ||
| 63 | #+begin_src sh | |
| 64 | stow -t ~ zsh | |
| 65 | #+end_src | |
| 66 | ||
| 58 | 67 | At this point, you have a centralized directory (~/git/dotfiles~) where you can |
| 59 | 68 | stow any file and use ~stow~ to symlink it back to another directory on your |
| 60 | 69 | system. |