Bash Completion on Mac
jens.troeger at light-speed.de
Sat Apr 9 22:57:37 UTC 2022
I’m run `pass` on Mac using MacPorts and bash, and my .bashrc contains
the following lines:
# Bash completion for pass.
if [ -f /opt/local/etc/profile.d/bash_completion.sh ]; then
[[ -r "/opt/local/share/bash-completion/completions/pass" ]] && source "/opt/local/share/bash-completion/completions/pass"
Homebrew’s base pass is different but other than adjusting that base
path, I hope this helps?
With many greetings,
On Sat, Apr 09, 2022 at 08:07:53AM -0400, Brian Abbott wrote:
> I have been using pass on Linux and I was issued a Mac for work. This
> computer came installed with Mac 12.3 Monterey. Zshell was the default
> So I set bash as the default shell. I believe I was missing a .bashrc
> and a bash_profile. So I created those.
> I installed pass through homebrew. Bash completion did not work with pass.
> I found this post through Google
> I followed the instructions here to install bash completion:
> Bash completion seems to work but not on pass.
> If someone could help me get bash completion working I would appreciate it.
> I'm really grateful for open source and people that contribute to it.
> This password manager gives us control over the security of our
> passwords. I've been using it since 2018 and it's been great.
More information about the Password-Store