feat(greeting): add C6 greeting guard to first_run.fish welcome message
This commit is contained in:
+10
-5
@@ -23,11 +23,16 @@ end
|
|||||||
set -U __fish_config_first_run_complete 1
|
set -U __fish_config_first_run_complete 1
|
||||||
|
|
||||||
# ──────────────────────────── Welcome message ───────────────────────────
|
# ──────────────────────────── Welcome message ───────────────────────────
|
||||||
echo ""
|
# Printing a first-run welcome banner is opinionated (C6 greeting). The
|
||||||
echo " Welcome to your fish shell configuration!"
|
# first-run state variable is already set unconditionally above, so
|
||||||
echo " Run 'help config' for offline documentation."
|
# disabling the greeting never re-triggers this file.
|
||||||
echo " Run 'fish-deps' to check and install dependencies."
|
if __fish_config_op_enabled __fish_config_op_greeting
|
||||||
echo ""
|
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 ────────────────────
|
# ─────────────────────── Opinionated auto-exec guard ────────────────────
|
||||||
# Startup side-effects below (Fisher curl, fisher update, theme apply) are
|
# Startup side-effects below (Fisher curl, fisher update, theme apply) are
|
||||||
|
|||||||
Reference in New Issue
Block a user