{"id":16932953,"url":"https://github.com/zrr1999/dotfiles","last_synced_at":"2026-04-09T02:32:24.106Z","repository":{"id":184151233,"uuid":"670643214","full_name":"zrr1999/dotfiles","owner":"zrr1999","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-07T06:44:41.000Z","size":223,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-07T07:24:03.428Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zrr1999.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2023-07-25T14:03:27.000Z","updated_at":"2026-04-07T05:47:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"6fef4551-c94a-4832-bf09-06e31faa3c0c","html_url":"https://github.com/zrr1999/dotfiles","commit_stats":null,"previous_names":["zrr1999/dotfiles"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zrr1999/dotfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zrr1999%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zrr1999%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zrr1999%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zrr1999%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zrr1999","download_url":"https://codeload.github.com/zrr1999/dotfiles/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zrr1999%2Fdotfiles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31582701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T20:48:07.983Z","updated_at":"2026-04-09T02:32:24.100Z","avatar_url":"https://github.com/zrr1999.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My Dotfiles\n\n一个现代化的 dotfiles 配置，支持多平台（macOS、Arch Linux、Ubuntu），提供完整的开发环境配置。\n\n## ✨ 特性\n\n- 🚀 **现代化工具链**: 使用 starship、zi、lsd、ripgrep 等现代化工具\n- 🎯 **多平台支持**: 支持 macOS、Arch Linux、Ubuntu\n- 🔧 **自动化安装**: 一键安装和配置所有工具\n- 📦 **包管理器集成**: 支持 brew、pacman、apt 等包管理器\n- 🐍 **Python 环境**: uv 为主（包/工具）\n- 🔐 **安全配置**: GPG 签名、SSH 密钥管理\n\n## 🚀 快速安装\n\n### 前置条件\n- Git\n- Curl\n- 网络连接\n\n### 一键安装\n```bash\n# 方法1: 使用 yadm（推荐）\nPATH=/tmp:$PATH curl -fLo /tmp/yadm https://github.com/TheLocehiliosan/yadm/raw/master/yadm \\\n\u0026\u0026 chmod a+x /tmp/yadm \\\n\u0026\u0026 /tmp/yadm clone https://github.com/zrr1999/dotfiles.git \\\n\u0026\u0026 /tmp/yadm bootstrap \\\n\u0026\u0026 rm /tmp/yadm\n\n# 方法2: 使用安装脚本（一键安装）\nbash \u003c(curl -fsSL https://raw.githubusercontent.com/zrr1999/dotfiles/main/install)\n```\n\n安装完成后，在 dotfiles 目录内可用 **just** 执行常用任务：\n- `just install` — 运行 yadm bootstrap\n- `just update` — 拉取最新配置并重新应用\n\n### Arch Linux 镜像优化\n```bash\necho \"Setting up pacman mirrorlist\"\nsudo pacman -S --noconfirm --needed reflector\nsudo reflector --save /etc/pacman.d/mirrorlist --country China --protocol https --latest 5\n```\n\n## 🔧 主要配置\n\n### Zsh 配置\n- **插件管理**: 使用 zi 管理 zsh 插件\n- **主题**: Starship 现代化提示符\n- **补全**: 智能命令补全和语法高亮\n- **别名**: 现代化工具别名（ls→lsd, grep→rg 等）\n\n### 开发工具\n- **编辑器**: Helix\n- **版本控制**: Git + Git LFS + GPG 签名\n- **Python**: uv 包管理 + 全局工具（prek、ty、ruff 等）\n- **Node.js**: fnm + Node.js LTS + pnpm + Bun\n- **Rust**: Cargo 工具链\n- **Vite+**: 若已安装（~/.vite-plus/env），会在 shell 中自动加载\n- **任务脚本**: just（替代 Makefile）\n\n### 系统工具\n- **文件管理**: lsd, dust, duf\n- **搜索工具**: ripgrep, fd\n- **网络工具**: httpie, nexttrace\n- **监控工具**: bottom, procs\n\n## 🛠️ 自定义配置\n\n安装完成后，你可以根据需要修改以下文件：\n\n- `~/.config/zsh/.aliases.zsh` - 添加自定义别名\n- `~/.config/zsh/.functions.zsh` - 添加自定义函数\n- `~/.config/starship.toml` - 自定义提示符样式\n- `~/.gitconfig` - 修改 Git 配置\n\n## 🔐 安全说明\n\n- Git 提交默认启用 GPG 签名\n- SSH 密钥自动加载到 ssh-agent\n\n## 📝 许可证\n本项目采用 MIT 许可证，详见 [LICENSE](LICENSE) 文件。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzrr1999%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzrr1999%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzrr1999%2Fdotfiles/lists"}