osc: install completion file for fish
This commit is contained in:
parent
6ce7049ebb
commit
be3b7c7408
@ -16064,6 +16064,7 @@ in {
|
|||||||
propagatedBuildInputs = with self; [ urlgrabber m2crypto pyyaml ];
|
propagatedBuildInputs = with self; [ urlgrabber m2crypto pyyaml ];
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
ln -s $out/bin/osc-wrapper.py $out/bin/osc
|
ln -s $out/bin/osc-wrapper.py $out/bin/osc
|
||||||
|
install -D -m444 osc.fish $out/etc/fish/completions/osc.fish
|
||||||
install -D -m555 dist/osc.complete $out/share/bash-completion/helpers/osc-helper
|
install -D -m555 dist/osc.complete $out/share/bash-completion/helpers/osc-helper
|
||||||
mkdir -p $out/share/bash-completion/completions
|
mkdir -p $out/share/bash-completion/completions
|
||||||
cat >>$out/share/bash-completion/completions/osc <<EOF
|
cat >>$out/share/bash-completion/completions/osc <<EOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user