feat: first-run initialization routine #34
Reference in New Issue
Block a user
Delete Branch "feat/first-run-init"
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
conf.d/first_run.fish— runs exactly once on the first interactive fish session, guarded by the universal variable__fish_config_first_run_completeconfig-helpandfish-depsfish_plugins(silent, no prompt)config.fish(theread -l -P "Install Fisher?"block)set -Ue __fish_config_first_run_complete+ new shell re-triggers everythingdocs/fish-config.mdandREADME.mdto document the new behaviorManual Verification
set -Ue __fish_config_first_run_complete) and open a new interactive shell — confirm the welcome message appears, Fisher installs, and the Catppuccin Mocha theme is appliedfish -c "echo hello"— confirm no welcome message appears (non-interactive guard)set -q __fish_config_first_run_completereturns true after first-run completesconfig-helpandfish-depscommands are accessible after first-run (plugins loaded correctly)