Hi All

I'm looking for a good way to deploy a bash completion script somewhere appropriate for the given operating system.

Has anyone tackled this before? I was considering packaging the script in to the install using cabal data files, then having an 'install--bash-completion' option that tries to detect the right place to install it depending on the OS.

Cheers
Jacob