Can't get bash-completion to work for alias

TRS-80 lists.trs-80 at isnotmyreal.name
Thu Apr 29 19:45:26 UTC 2021


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


More information about the Password-Store mailing list