12021/02/38 06:56.55 ನಲ್ಲಿ, TRS-80 <[email protected]> ಬರೆದರು:
> 
> 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: https://github.com/cykerway/complete-alias.git

HTH!

Sincerely,

Chiraag
-- 
ಚಿರಾಗ್ ನಟರಾಜ್
Pronouns: he/him/his

Attachment: publickey - [email protected] - b0c8d720.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to