swathesis icon indicating copy to clipboard operation
swathesis copied to clipboard

Bash completion should be installed in home directory of current user, not system wide

Open LinqLover opened this issue 1 year ago • 3 comments

Unfortunately, pkg-config --variable=compatdir bash-completion returns /etc/bash_completion.d instead.

LinqLover avatar May 07 '24 15:05 LinqLover

patch welcome

krono avatar May 07 '24 15:05 krono

I did not find a generic way for that using pkg-config. I just replaced the subshell in

https://github.com/krono/swathesis/blob/08dfb005c9f983c20225fddf6d968bdcb4e22641/swth#L371

with

~/bash_completion.d

but that looks odd ...

LinqLover avatar May 07 '24 20:05 LinqLover

I haven't used the bash completion at all, maybe @codeZeilen has an idea…

krono avatar Jun 11 '24 12:06 krono