From 85be47582bda594305a860879621f01da336d360 Mon Sep 17 00:00:00 2001 From: rootiest Date: Wed, 10 Jun 2026 22:25:10 -0400 Subject: [PATCH] feat(greeting): add C6 greeting guard to first_run.fish welcome message --- conf.d/first_run.fish | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/conf.d/first_run.fish b/conf.d/first_run.fish index 958f03a..1939c86 100644 --- a/conf.d/first_run.fish +++ b/conf.d/first_run.fish @@ -23,11 +23,16 @@ end set -U __fish_config_first_run_complete 1 # ──────────────────────────── Welcome message ─────────────────────────── -echo "" -echo " Welcome to your fish shell configuration!" -echo " Run 'help config' for offline documentation." -echo " Run 'fish-deps' to check and install dependencies." -echo "" +# Printing a first-run welcome banner is opinionated (C6 greeting). The +# first-run state variable is already set unconditionally above, so +# disabling the greeting never re-triggers this file. +if __fish_config_op_enabled __fish_config_op_greeting + echo "" + echo " Welcome to your fish shell configuration!" + echo " Run 'help config' for offline documentation." + echo " Run 'fish-deps' to check and install dependencies." + echo "" +end # ─────────────────────── Opinionated auto-exec guard ──────────────────── # Startup side-effects below (Fisher curl, fisher update, theme apply) are