- moves selected config files/directories (aka dotfiles) from
๐ source/
to๐ target/
- creates ๐ symlinks for them ๐ instead (example:
๐ source/.zshrc @-> ๐ target/.zshrc
) - now you can track those dotfiles in
๐ target/
usinggit
Inspired by GNU Stow
deno install --global \
--allow-read --allow-write \
--allow-env=HOME \
--name stow \
jsr:@mcha/stow-config
--allow-read --allow-write
to move configuration files and create symlinks for them.--allow-env=HOME
to allow for paths that start with~
, such as~/.config
.--name stow
can be set to something else, like--name stow-configs
.
make sure
$HOME/.deno/bin
is in$PATH
:
stow
deno uninstall --global stow
assuming it was installed with --name stow