[FEAT] Dotfile manager module

未关闭
#1,696 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

  • #1702 来自 @twpayne —— 已关闭,未合并

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
c
领域
cli, tooling

调研方向

该 issue 没有列出文件或测试。首先定位 fastfetch 现有的模块以及 home 目录检测的入口点,然后定义如何识别列出的 dotfile 管理器。当它们的标记路径存在时,输出会报告受支持的管理器,并且在未检测到任何管理器时有明确的行为,即表示完成。

由索引模型根据 Issue 内容生成。

描述

enhancement
Description

Firstly, thank you for this excellent project!

Feature request: many people who care about their computers customize their dotfiles, and many of these use a dotfile manager, of which there are many. It would be fantastic if fastfetch could add a module showing the user's dotfile manager, if they are using one.

Detection is fast, it is sufficient to check for the presence of files or directories in the user's home directory. For example:

  • If ~/.git exists, then they're probably using a bare git repository.
  • If ~/.config/yadm exists, then they're probably using yadm.
  • If ~/.local/share/chezmoi exists, then they're probably using chezmoi.
  • etc.

Would you consider such a module? I would be happy to submit a PR that adds such a feature and supports popular dotfile managers.

Motivation

Dotfile managers are so widely used that this should be part of the standard fastfetch output.

Additional context

No response

主要语言
C
星标
25.4k
派生
947
平均合并
1 天 8 小时
30 天内合并 PR
21

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

fastfetch-cli/fastfetch 的其他 Issue

查看 fastfetch-cli/fastfetch 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。