Merge pull request #34922 from jlesquembre/fd
fd: install fish shell completions
This commit is contained in:
commit
07ba329e07
@ -17,9 +17,9 @@ rustPlatform.buildRustPackage rec {
|
||||
mkdir -p "$out/man/man1"
|
||||
cp "$src/doc/fd.1" "$out/man/man1"
|
||||
|
||||
mkdir -p "$out/share/"{bash-completion/completions,fish/completions,zsh/site-functions}
|
||||
mkdir -p "$out/share/"{bash-completion/completions,fish/vendor_completions.d,zsh/site-functions}
|
||||
cp target/release/build/fd-find-*/out/fd.bash "$out/share/bash-completion/completions/"
|
||||
cp target/release/build/fd-find-*/out/fd.fish "$out/share/fish/completions/"
|
||||
cp target/release/build/fd-find-*/out/fd.fish "$out/share/fish/vendor_completions.d/"
|
||||
cp target/release/build/fd-find-*/out/_fd "$out/share/zsh/site-functions/"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user