opam: install shell completion scripts

Closes #17463.