[pass] Specifying alternative to pbcopy/pbpaste (xclip alternatives) on MacOSX for pass inside of tmux?

Jason A. Donenfeld Jason at zx2c4.com
Wed Mar 27 21:03:29 CET 2013


Hi Von,

The best way to use pass with OSX is via homebrew --
http://mxcl.github.com/homebrew/ . "brew install pass"

This automatically merges the darwin platform specfic file
<http://git.zx2c4.com/password-store/tree/src/platform/darwin.sh>,
which uses pb{copy,paste} into the pass script by uncommenting line
124 -- <http://git.zx2c4.com/password-store/tree/src/password-store.sh#n123>.

Hope this helps!

Jason


On Wed, Mar 27, 2013 at 8:59 PM, Von Welch <von at vwelch.com> wrote:
> Hello,
>
>  I'm running pass inside of tmux on MacOSX. In order to access the
> paste buffer, I need to wrap the calls to pbcopy/pbpaste (xclip
> replacement) with reattach-to-user-namespace as described at:
> http://robots.thoughtbot.com/post/19398560514/how-to-copy-and-paste-with-tmux-on-mac-os-x
>
>  Whats working for me is to create scripts wrapping the system pbcopy
> and pbpaste, and then making sure those scripts appear earlier in my
> path than the binaries.
>
>  Is there some way to do this more cleanly that I'm missing?
>
>  If the answer is no, any interest in a contributed README and scripts
> for contrib/?
>
> Thanks,
>
> Von
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> http://lists.zx2c4.com/listinfo.cgi/password-store-zx2c4.com



More information about the Password-Store mailing list