Ah, I just assumed you'd installed pass through a package manager. :)

In any case, if you do upgrade pass at some point, as long as you install
the new version to the same location (overwriting the old completion file),
the symlink should keep you in sync without having to do this exercise
again.

On Tue, 24 Nov 2015, 20:47 spython01 <[email protected]> wrote:

> On 11/24/2015 01:57 PM, Emil Lundberg wrote:
> > It seems like your new file at
> > `/etc/bash_completion.d/pass.bash-completion` isn't managed by a package
> > manager. Keep in mind that this means it won't be updated along with pass
> > unless you do it manually. Perhaps you want a symbolic link instead.
>
> Good point!  I went with:
>
> $ ln -s ~/password-store-1.6.5/src/completion/pass.bash-completion
> /etc/bash_completion.d/pass.bash-completion
>
> But given that I installed it from source, I'm not sure if the link will
> hold up when the next version of pass is released.
>
_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to