2.home-manager/tests/modules/programs/yazi
Jesung Yang bba859cd85 yazi: fix unintended recursive calls
Use `command` (POSIX) and `^` (Nushell) to prevent recursive function
calls when `cfg.shellWrapperName` is set to "yazi".

Previously, if `cfg.shellWrapperName` was set to "yazi", the invocation
of `yazi` within the shell integration function triggered the function
itself instead of the binary. This name conflict prevents users from
using the binary name as-is when shell integration is enabled.

Hence, fix this by using shell-specific mechanisms to target the
underlying executable, bypassing any name collisions.

This aligns with the official documentation:
- 2c839b37c8/docs/quick-start.md (L29)
- 2c839b37c8/docs/quick-start.md (L56)
2026-01-15 15:28:09 -06:00
..
empty
flavor
plugin
bash-integration-enabled.nix yazi: fix unintended recursive calls 2026-01-15 15:28:09 -06:00
default.nix
fish-integration-enabled.nix
fish-integration-expected.fish yazi: update wrappers not to use cat in subshell 2025-11-03 21:54:12 -06:00
init-lua-string.nix
init.lua
keymap-expected.toml
nushell-integration-enabled.nix yazi: fix unintended recursive calls 2026-01-15 15:28:09 -06:00
settings-expected.toml tests/yazi: manager -> mgr (#7289) 2025-06-18 09:29:56 -05:00
settings.nix tests/yazi: manager -> mgr (#7289) 2025-06-18 09:29:56 -05:00
theme-expected.toml
zsh-integration-enabled.nix yazi: fix unintended recursive calls 2026-01-15 15:28:09 -06:00