osc: install completion file for fish

This commit is contained in:
Peter Simons 2017-06-01 10:20:27 +02:00
parent 6ce7049ebb
commit be3b7c7408

View file

@ -16064,6 +16064,7 @@ in {
propagatedBuildInputs = with self; [ urlgrabber m2crypto pyyaml ];
postInstall = ''
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
mkdir -p $out/share/bash-completion/completions
cat >>$out/share/bash-completion/completions/osc <<EOF