[pass] Using the bash autocomplete
Allan Odgaard
lists+pass at simplit.com
Tue Dec 16 03:32:44 CET 2014
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.
More information about the Password-Store
mailing list