fd: install fish shell completions
This commit is contained in:
parent
67b1d6a16d
commit
0e09abd9c4
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue