mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 03:29:45 +01:00
1e22ef1518
Nushell 0.98 makes it so external commands returning non-zero is considered an exception[0]. Wrap the direnv invocation in a try-catch, so that even if direnv fails, we get the message from direnv, but not the traceback from nushell. [0]: https://www.nushell.sh/blog/2024-09-17-nushell_0_98_0.html#non-zero-exit-codes-are-now-errors-toc |
||
---|---|---|
.. | ||
accounts | ||
config/i18n | ||
files | ||
home-environment | ||
i18n/input-method | ||
launchd | ||
misc | ||
programs | ||
services | ||
systemd | ||
targets-darwin | ||
targets-linux | ||
xresources |