修复文件同步:系统文件由 install.sh 管理,zshrc 用 dcli dotfiles 同步

- zsh 模块改为目录模块,支持 dotfiles 同步 .zshrc
- install.sh 添加 mirrorlist 和 sudoers 复制
- 移除空的 files/home 目录
This commit is contained in:
2026-03-25 15:13:15 +08:00
parent 694efb1a33
commit ac236ccbf8
4 changed files with 11 additions and 2 deletions
+5
View File
@@ -31,6 +31,11 @@ else
git clone "$REPO_URL" "$CONFIG_DIR"
fi
echo "==> 配置系统文件..."
sudo cp "$CONFIG_DIR/files/etc/pacman.d/mirrorlist" /etc/pacman.d/mirrorlist
sudo cp "$CONFIG_DIR/files/etc/sudoers.d/10-wheel" /etc/sudoers.d/10-wheel
sudo chmod 440 /etc/sudoers.d/10-wheel
echo ""
echo "✓ 安装完成!"
echo ""