Skip to content

mwmcode/stow-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

34 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Publish

Stow Config

demo.

  1. moves selected config files/directories (aka dotfiles) from ๐Ÿ“‚ source/ to ๐Ÿ“‚ target/
  2. creates ๐Ÿ”— symlinks for them ๐Ÿ‘† instead (example: ๐Ÿ“‚ source/.zshrc @-> ๐Ÿ“‚ target/.zshrc)
  3. now you can track those dotfiles in ๐Ÿ“‚ target/ using git

Inspired by GNU Stow

Installation

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.

Usage

make sure $HOME/.deno/bin is in $PATH:

stow

stow command prompts. stow command prompts. config dir contains symlinks instead of acutaly files/dirs.

Uninstall

deno uninstall --global stow

assuming it was installed with --name stow

About

Stow/manage config (dotfiles) built with ๐Ÿฆ•

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published