<div dir="ltr">You can also just source the completion file in your bashrc <a href="https://github.com/eirc/home/blob/master/.bashrc#L106">https://github.com/eirc/home/blob/master/.bashrc#L106</a></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 16, 2014 at 4:40 AM, Peuw Ayaqdq <span dir="ltr"><<a href="mailto:peuwayaqdq@gmail.com" target="_blank">peuwayaqdq@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks Allan, that works.<br><br>I have to do brew install bash-completion first, then create /etc/bash_completion directory.<br><br></div>All good now ... very happy with pass so far.<br><br>Cheers,<br>Hari<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 16, 2014 at 12:32 PM, Allan Odgaard <span dir="ltr"><<a href="mailto:lists+pass@simplit.com" target="_blank">lists+pass@simplit.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 16 Dec 2014, at 8:56, Peuw Ayaqdq wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
But I could not make it working on Mac with the same step. Anyone knows how<br>
to do this on Mac?<br>
</blockquote>
<br></span>
By default on OS X bash is not setup to source any completion files.<br>
<br>
You can manually source the completion file from your startup file, e.g. in `~/.bash_profile` you can add:<br>
<br>
if [[ -e /path/to/bash-completion ]]; then<br>
. /path/to/bash-completion<br>
fi<br>
<br>
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.<br>
</blockquote></div></div>
</div></div><br>_______________________________________________<br>
Password-Store mailing list<br>
<a href="mailto:Password-Store@lists.zx2c4.com">Password-Store@lists.zx2c4.com</a><br>
<a href="http://lists.zx2c4.com/mailman/listinfo/password-store" target="_blank">http://lists.zx2c4.com/mailman/listinfo/password-store</a><br>
<br></blockquote></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Errikos Koen,<br>Web Developer / Software Engineer<br><a href="http://www.pamediakopes.gr" target="_blank">www.pamediakopes.gr</a></div>
</div>