Access to OS X pasteboard in tmux/screen


If you're having trouble accessing pbcopy/pbpaste from tmux and/or an unpatched screen, check out https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard.git

tl;dr

  1. Clone repo
  2. Run makefile
  3. Add to path (or add symlink on path)
  4. Add set-option -g default-command "reattach-to-user-namespace -l zsh" or whatever your favorite shell is in your .tmux.conf

code!