跳到主要内容

stow

用 stow 管理 dotfiles

Brandon Invergo - Using GNU Stow to manage your dotfiles

[!summary]+ 原理简述
假设你的 dotfiles 位于 A/dotfiles 路径
dotfiles 中的每个子目录相当于是一个 package
执行 stow xxx 后, 对应 package 目录内的文件和目录都将以链接的形式分发到 target 目录(默认是 stow 目录(默认为当前目录)的父目录)