diff options
| author | ewy <ewy0@protonmail.com> | 2026-08-25 18:27:44 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-08-25 18:27:44 +0200 |
| commit | 94ed96dfa9cc2d6dc667556a7fd5a672b503b845 (patch) | |
| tree | 022a705f926cbc1be3cca75742b4d4494a54989e /modes.go | |
| parent | 0621dd7ceba85931ce37f95026231a26879e814b (diff) | |
always output exit error messages
Diffstat (limited to 'modes.go')
| -rw-r--r-- | modes.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -60,6 +60,7 @@ var uninitializedModes = ModeMap[func() *spool.ExitCode]{ // like --version and --completion var statelessModes = ModeMap[func() *spool.ExitCode]{ flags.InstallCompletion: func() *spool.ExitCode { + _ = paths.Component.Init() sh := os.Getenv("SHELL") if sh == "" { return spool.UnknownShellFailure |
