Files
Terje Larsen 2cd3234928 gpg-agent: don't abort nushell startup when tty is unavailable
The nushell integration set $env.GPG_TTY = (tty) unconditionally.
Unlike the bash/zsh/fish variants, which use a plain command
substitution and silently continue with an empty value on failure,
nushell aborts the whole script when an external command used as an
expression value exits non-zero. A missing controlling terminal (e.g.
a login shell invoked non-interactively, such as by WSL's generated
Windows app launchers) made nu exit immediately, breaking every
command run through that login shell.

Wrap the call in try/catch so nushell degrades the same way the other
shell integrations do.
2026-10-24 00:06:11 -05:00
..
2025-07-29 10:31:11 -05:00
2025-11-02 06:44:15 -06:00
2025-10-18 12:46:31 -05:00
2026-09-01 18:44:41 -05:00
2026-07-15 10:29:26 -05:00
2026-09-16 23:20:56 -05:00
2026-09-10 08:40:07 -05:00
2026-06-17 10:48:10 -05:00
2026-10-01 14:30:51 -05:00
2026-05-01 19:25:59 +01:00
2026-09-25 13:02:11 -05:00
2026-07-15 10:29:26 -05:00
2026-06-22 13:55:29 -05:00
2026-09-23 23:50:10 -05:00
2025-09-07 09:28:15 -05:00
2026-07-11 20:49:16 -05:00
2026-07-15 10:29:26 -05:00
2025-06-23 16:20:26 -05:00
2026-06-04 12:20:50 -05:00
2025-06-28 16:28:39 -05:00
2026-04-23 08:18:13 -05:00
2026-09-17 20:28:42 -05:00
2026-09-24 10:54:04 -05:00