rbw: add nushell completion (#453882)

This commit is contained in:
Sandro
2025-10-20 14:55:21 +00:00
committed by GitHub
+1 -3
View File
@@ -11,17 +11,14 @@
withFzf ? false,
fzf,
perl,
# rbw-rofi
withRofi ? false,
rofi,
xclip,
# pass-import
withPass ? false,
pass,
}:
rustPlatform.buildRustPackage rec {
pname = "rbw";
version = "1.14.1";
@@ -52,6 +49,7 @@ rustPlatform.buildRustPackage rec {
installShellCompletion --cmd rbw \
--bash <($out/bin/rbw gen-completions bash) \
--fish <($out/bin/rbw gen-completions fish) \
--nushell <($out/bin/rbw gen-completions nushell) \
--zsh <($out/bin/rbw gen-completions zsh)
''
+ lib.optionalString withFzf ''