[pass] Using the bash autocomplete
eirc
eirc.eirc at gmail.com
Tue Dec 16 09:40:26 CET 2014
You can also just source the completion file in your bashrc
https://github.com/eirc/home/blob/master/.bashrc#L106
On Tue, Dec 16, 2014 at 4:40 AM, Peuw Ayaqdq <peuwayaqdq at gmail.com> wrote:
>
> 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.
>
> Cheers,
> Hari
>
> On Tue, Dec 16, 2014 at 12:32 PM, Allan Odgaard <lists+pass at simplit.com>
> wrote:
>>
>> 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.
>>
>
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> http://lists.zx2c4.com/mailman/listinfo/password-store
>
>
--
Errikos Koen,
Web Developer / Software Engineer
www.pamediakopes.gr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20141216/0d2ce76e/attachment.html>
More information about the Password-Store
mailing list