Can't get bash-completion to work for alias

ಚಿರಾಗ್ ನಟರಾಜ್ mailinglist at
Thu Apr 29 19:52:12 UTC 2021

12021/02/38 06:56.55 ನಲ್ಲಿ, TRS-80 <lists.trs-80 at> ಬರೆದರು:
> On 2021-04-27 03:02, glenndoyle wrote:
> > alias yapass='PASSWORD_STORE_DIR=~/.yet-another-password-store
> > PASSWORD_STORE_GIT=~/.yet-another-password-store pass'
> >
> > This works insofar that all the individual commands for 'yapass' work,
> > but the bash-completion is totally lost. The bash-completion for
> > 'pass' works flawlessly, it's just this alias that doesn't get the
> > same benefit.
> I suspect this is something to do with bash completion.  Maybe try
> ##linux or #bash on Freenode (IRC) for an immediate answer, or perhaps
> even bash-users mailing list (if there is such a thing) or searching
> internet about bash completion.
> Cheers,
> TRS-80

Yup, bash completion doesn't work (by default) for aliases. You can use complete-alias to fix this issue:



ಚಿರಾಗ್ ನಟರಾಜ್
Pronouns: he/him/his
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - mailinglist at - b0c8d720.asc
Type: application/pgp-keys
Size: 659 bytes
Desc: not available
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 233 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Password-Store mailing list