Commit de9f8ce60b
Unsigned
Layout: unified · split
content/blog/2026-02-08-gnu-stow.org +9
| @@ -55,6 +55,15 @@ mv ~/.zprofile ~/git/dotfiles/zsh/ && \ | |||
| 55 | stow zsh | 55 | stow zsh |
| 56 | #+end_src | 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 | At this point, you have a centralized directory (~/git/dotfiles~) where you can | 67 | At this point, you have a centralized directory (~/git/dotfiles~) where you can |
| 59 | stow any file and use ~stow~ to symlink it back to another directory on your | 68 | stow any file and use ~stow~ to symlink it back to another directory on your |
| 60 | system. | 69 | system. |