Hi, the homebrew installed path to the bash completion script is: /usr/local/Cellar/pass/1.7.4/etc/bash_completion.d/pass
I don't see any symlink in /usr/local/share/ that points there. BTW, I don't use bash as my shell; I'm just pointing out what I found my poking around in /usr/local/Cellar/pass/. -Eric P.S. I run tcsh as my shell. I hacked together a tcsh completion script if anyone is interested. It's a bit rough around the edges, but does the job for me. On 9 Apr 2022, at 18:57, Jens Tröger wrote: > 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/
