fastfetch-cli / fastfetch-cli/fastfetch

[FEAT] Dotfile manager module

Offen
#1,696 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
C
Sterne
24.6k
Forks
890
Ø Merge
1 T. 4 Std.
Gemergte PRs (30 T.)
15

Beschreibung

### 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](https://dotfiles.github.io/utilities/), 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](https://www.atlassian.com/git/tutorials/dotfiles).
* If `~/.config/yadm` exists, then they're probably using [yadm](https://yadm.io).
* If `~/.local/share/chezmoi` exists, then they're probably using [chezmoi](https://chezmoi.io).
* 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](https://dotfiles.github.io/utilities/).

### Motivation

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

### Additional context

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Das Issue nennt keine Dateien oder Tests. Beginne damit, die vorhandenen Module von fastfetch und die Einstiegspunkte für die Erkennung des Home-Verzeichnisses zu finden, und lege anschließend fest, wie die aufgeführten Dotfile-Manager erkannt werden. Als abgeschlossen gilt die Aufgabe, wenn die Ausgabe unterstützte Manager meldet, sobald deren Marker-Pfade vorhanden sind, und ein klares Verhalten zeigt, wenn keine erkannt werden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
c
Bereich
cli, tooling
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.