Home > Uncategorized > pbpaste and pbcopy in tmux (and screen) on mac os x

pbpaste and pbcopy in tmux (and screen) on mac os x

the pasteboard tools do not work in tmux on a mac. But there is a tool to fix this (of course ^^):
brew install reattach-to-user-namespace

Then, in your .tmux.conf, add this:
set-option -g default-command "reattach-to-user-namespace -l zsh"
– more info on how to configure can be fiound here: https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard/blob/master/Usage.md

After restarting your tmux server, pbcopy and pbpaste should work again.

Categories: Uncategorized Tags:
  1. May 30th, 2014 at 01:51 | #1

    5cc 4-Strooe OHV Portable Gas Powered Generator features a 79.

    Move places you in the direction of payphones that
    your gangster buddiees will be blowing up. This will kill
    all oof the NCR troopers in a glorious orbital bombardment that you
    can watch from the observation deck.

  2. June 12th, 2014 at 07:20 | #2

    You shouldn’t bee gaming foor more than a few hours each day.
    In Geoffrey of Monmouth’s History of the Kings of
    Britin (Hisforia Regum Britanniae) can be seen as the start of the
    modern tradition about King Arthur. fitness  fitters
     fittest  fitting  fixable  fixated  fixates  fixatif.

  1. No trackbacks yet.