[pass] Using the bash autocomplete

Peuw Ayaqdq peuwayaqdq at gmail.com
Tue Dec 16 03:40:14 CET 2014

Thanks Allan, that works.

I have to do brew install bash-completion first, then create
/etc/bash_completion directory.

All good now ... very happy with pass so far.


On Tue, Dec 16, 2014 at 12:32 PM, Allan Odgaard <lists+pass at simplit.com>
> On 16 Dec 2014, at 8:56, Peuw Ayaqdq wrote:
>  But I could not make it working on Mac with the same step. Anyone knows
>> how
>> to do this on Mac?
> By default on OS X bash is not setup to source any completion files.
> You can manually source the completion file from your startup file, e.g.
> in `~/.bash_profile` you can add:
>         if [[ -e /path/to/bash-completion ]]; then
>           . /path/to/bash-completion
>         fi
> Though consider going with a package manager like homebrew or MacPorts,
> these come with much newer versions of bash, and at least for homebrew, if
> you install `pass` via this package manager, it also installs the bash
> completions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20141216/0f71b7cf/attachment.html>

More information about the Password-Store mailing list