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 yazi: Assert plugin/flavor structure and warn about plugin/flavor suffix 2024-06-23 23:12:50 +02:00
flavor yazi: Fix expected structure of flavors 2024-06-23 23:12:50 +02:00
plugin yazi: support plugins and flavors 2024-05-29 11:29:08 +08:00
bash-integration-enabled.nix yazi: fix unintended recursive calls 2026-01-15 15:28:09 -06:00
default.nix yazi: allow literal string for initLua 2024-07-03 23:36:14 +02:00
fish-integration-enabled.nix tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
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 tests: rework derivation stubbing 2025-02-04 23:58:20 +01:00
init.lua yazi: support plugins and flavors 2024-05-29 11:29:08 +08:00
keymap-expected.toml yazi: update keymap config 2024-12-01 18:47:01 +01:00
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 yazi: fix example option for settings 2024-12-21 18:04:53 +01:00
zsh-integration-enabled.nix yazi: fix unintended recursive calls 2026-01-15 15:28:09 -06:00