Hi there,

Dominic Sonntag:
> I'm quite new to pass and I migrated from KeePass.
> I have two password stores in use, one I share with my team and a
> personal one. They live in the two directories ~/.global-password-store
> and ~/.password-store and are git repos.
> 
> I created an alias:
> 
> alias gpass='PASSWORD_STORE_DIR=/home/dsonntag/.global-password-store pass'
> 
> so now I can use gpass instead of pass to access our team password
> store. But gpass has no completion.
> 
> I'm using the zsh with the pass plugin, so completion for the pass
> command works fine.
> 
> How can I setup the completion for my alias without having to
> copy-paste-edit the completion definition?

I got completion working for an alias with bash-completion stuff:

https://lelutin.ca/posts/Using_password-store_with_an_alternate_directory/

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to