Merge pull request #31735 from dywedir/fd

fd: install shell completions

authored by Orivej Desh and committed by GitHub e7521b20 a368bbb5

+5
+5
pkgs/tools/misc/fd/default.nix
··· 16 16 preFixup = '' 17 17 mkdir -p "$out/man/man1" 18 18 cp "$src/doc/fd.1" "$out/man/man1" 19 + 20 + mkdir -p "$out/share/"{bash-completion/completions,fish/completions,zsh/site-functions} 21 + cp target/release/build/fd-find-*/out/fd.bash-completion "$out/share/bash-completion/completions/" 22 + cp target/release/build/fd-find-*/out/fd.fish "$out/share/fish/completions/" 23 + cp target/release/build/fd-find-*/out/_fd "$out/share/zsh/site-functions/" 19 24 ''; 20 25 21 26 meta = with stdenv.lib; {