diff options
| author | Christian Cleberg <[email protected]> | 2026-02-09 10:00:58 -0600 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-02-09 10:00:58 -0600 |
| commit | de9f8ce60bec35c72c3147c1fe621821970b6c4c (patch) | |
| tree | 565e8baf9705cd76381e879cf7b4da20ba49d9c8 /content | |
| parent | 245139160ba832c7f492c86408c06234929fc9f3 (diff) | |
| download | cleberg.net-de9f8ce60bec35c72c3147c1fe621821970b6c4c.tar.gz cleberg.net-de9f8ce60bec35c72c3147c1fe621821970b6c4c.tar.bz2 cleberg.net-de9f8ce60bec35c72c3147c1fe621821970b6c4c.zip | |
add stow -t flag example
Diffstat (limited to 'content')
| -rw-r--r-- | content/blog/2026-02-08-gnu-stow.org | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/content/blog/2026-02-08-gnu-stow.org b/content/blog/2026-02-08-gnu-stow.org index ecf82f2..5370f87 100644 --- a/content/blog/2026-02-08-gnu-stow.org +++ b/content/blog/2026-02-08-gnu-stow.org @@ -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. |
