Bash Completion on Mac
Jens Tröger
jens.troeger at light-speed.de
Sat Apr 9 22:57:37 UTC 2022
Hello Brian,
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
. /opt/local/etc/profile.d/bash_completion.sh
fi
[[ -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,
Jens
On Sat, Apr 09, 2022 at 08:07:53AM -0400, Brian Abbott wrote:
> Hi,
>
> 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
> shell.
>
> 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
> https://lists.zx2c4.com/pipermail/password-store/2014-December/001241.html
>
> I followed the instructions here to install bash completion:
> https://sourabhbajaj.com/mac-setup/BashCompletion/.
>
> 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.
>
> Brian
--
Jens Tröger
https://savage.light-speed.de/
More information about the Password-Store
mailing list