From 10b6f55e5e118fa34c4be4804ff6b3e387939bc5 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Thu, 19 Mar 2026 18:08:01 -0500 Subject: [PATCH] feat: add nushell completion Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/system/pixi/pixi.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/anda/system/pixi/pixi.spec b/anda/system/pixi/pixi.spec index 73c33d8be4..bd0acfe398 100644 --- a/anda/system/pixi/pixi.spec +++ b/anda/system/pixi/pixi.spec @@ -12,7 +12,7 @@ BuildRequires: anda-srpm-macros BuildRequires: cargo-rpm-macros >= 24 BuildRequires: mold -%pkg_completion -Befz +%pkg_completion -BefNz %description pixi is a cross-platform, multi-language package manager and workflow tool @@ -26,7 +26,7 @@ but for any language. %build %cargo_build -for shell in bash elvish fish zsh; do +for shell in bash elvish fish nushell zsh; do target/rpm/%{name} completion --shell $shell > completions.$shell done %{cargo_license_online} > LICENSE.dependencies @@ -36,6 +36,7 @@ install -Dm 755 target/rpm/%{name} %{buildroot}%{_bindir}/%{name} install -Dm 644 completions.bash %{buildroot}%{bash_completions_dir}/%{name} install -Dm 644 completions.elvish %{buildroot}%{elvish_completions_dir}/%{name}.elv install -Dm 644 completions.fish %{buildroot}%{fish_completions_dir}/%{name}.fish +install -Dm 644 completions.nushell %{buildroot}%{nushell_completions_dir}/%{name}.nu install -Dm 644 completions.zsh %{buildroot}%{zsh_completions_dir}/_%{name} %files