feat(greeting): add C6 — Greeting & First-Run UI opinionated guard #40
Reference in New Issue
Block a user
Delete Branch "feat/greeting-toggle-c6"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
__fish_config_op_greeting(C6) as the sixth opinionated component category, controlling whether greetings are shownconf.d/first_run.fishunder the C6 guard (independent of the C2 Fisher/theme-apply guard)fish_greetingoverride inconfig.fish's OVERRIDES section: when C6 is off, an emptyfish_greetingfunction is defined after CachyOS's config is sourced, aggressively suppressing distro greetings (e.g. CachyOS'sfastfetchgreeting)AGENTS.md(§14, Task #3 table, Task #8 ticked),opinionated_catalog.md,README.mdMinimal Mode, anddocs/fish-config.mdBehavior
__fish_config_op_greetingunset (default)set -U __fish_config_op_greeting 0fish_greetingoverridden to empty (distro greetings silenced)set -U __fish_config_opinionated 0Manual Verification
fastfetchgreeting appears normally (C6 on by default)set -U __fish_config_op_greeting 0, open a new shell — confirm no greeting appears andfunctions fish_greetingshows an empty bodyset -Ue __fish_config_first_run_complete && set -U __fish_config_op_greeting 0, open a new shell — confirm no first-run welcome prints, but Fisher/theme init still runs (C2 independent)set -Ue __fish_config_op_greeting, open a new shell — confirm greeting is restoredset -U __fish_config_opinionated 0, open a new shell — confirm greeting is suppressed via master switch; runset -Ue __fish_config_opinionatedto restore