Note
我的dotfiles,使用stow管理
# 使用包管理器安装stow
sudo pacman -S stow
# 克隆仓库并命名为.dotfiles
git clone --depth 1 https://github.com/cap153/config.git ~/.dotfiles
# 进入.dotfiles文件夹
cd ~/.dotfilesstow 可以将配置软链接到 ~/.confing ,一些常用参数如下:
# 链接想要使用的配置,--no-folding将只链接文件而不是链接整个文件夹(如果文件夹不存在stow会先创建文件夹再链接文件)
stow --no-folding wezterm systemd kitty fonts
# 取消链接指定配置
stow -D wezterm kitty
# 链接全部配置
stow --no-folding *
# 重新链接所有配置,相当于先-D再-S
stow -R --no-folding *