mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
fd: install fish shell completions
This commit is contained in:
parent
67b1d6a16d
commit
0e09abd9c4
@ -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