Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[FEAT] Configurable or environment-based logos

オープン
#2,194 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
c, shell

調査の方向性

まず、issue で言及されているロゴ自動検出のエントリポイントと command module の設定を読み、既存の custom module の設定と比較します。環境またはコマンドに基づく override が通常の検出にフォールバックする方法を定義し、MSYS2 と FreeBSD の例を受け入れ条件として検討します。

索引モデルが issue の本文から書いたものです。

説明

enhancement
Description

It would be nice to be able to be able to alter the logo based on certain environment factors. For example, I share most of my configs across Windows, MSYS2, FreeBSD, and a couple Linux boxes. For most of them (and every individual unique OS) this works and prints the OS logo. However commit 23bccc4 added an MSYS2 logo to the set, but this can only be printed by manually specifying it. Similarly, FreeBSD has a Linux emulation layer to help make some less portable software work.
For both of those cases, it would be nice if something made it possible to override the logo based on e.g. an environment variable check, or some other probing mechanism, or perhaps even just as a check that can be specified in the configuration, similar to how custom modules work.

For the configuration option, it could look something like:

"logo": {
  // Run the specified command and use its output,
  // fall back to normal auto detect behavior is output is empty
  "detect": "if [ \"$MSYSTEM\" -ne \"\" ]; then echo Msys2 ; fi"
}
Motivation

The command module does not allow overriding the logo

Additional context

No response

主要言語
C
スター
24.7k
フォーク
895
平均マージ
22時間 43分
マージ済み PR(30日)
20

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fastfetch-cli/fastfetch のほかの issue

fastfetch-cli/fastfetch の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。