mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
yadm: install bash and zsh completions
This commit is contained in:
parent
b3ad548f0b
commit
37b1a8eea8
@ -14,9 +14,13 @@ stdenv.mkDerivation {
|
||||
buildCommand = ''
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/share/man/man1
|
||||
mkdir -p $out/share/zsh/site-functions
|
||||
mkdir -p $out/share/bash-completion/completions
|
||||
sed -e 's:/bin/bash:/usr/bin/env bash:' $src/yadm > $out/bin/yadm
|
||||
chmod 755 $out/bin/yadm
|
||||
install -m 644 $src/yadm.1 $out/share/man/man1/yadm.1
|
||||
install -m644 $src/completion/yadm.zsh_completion $out/share/zsh/site-functions/_yadm
|
||||
install -m644 $src/completion/yadm.bash_completion $out/share/bash-completion/completions/yadm.bash
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user