Unable to use pbcopy while in tmux session

Posted by user62139 on Super User See other posts from Super User or by user62139
Published on 2011-01-10T00:07:57Z Indexed on 2011/01/10 0:55 UTC
Read the original article Hit count: 607

Filed under:
|

Running tmux 1.4 installed from ports on snow-leopard I am unable to use the built in OSX pbcopy command.

Outside of tmux:

> echo "abc" | pbcopy
> echo pbpaste # or using ^v
abc

But inside of tmux:

> echo "123" | pbcopy
> echo pbpaste
abc

I've scoured the man page but can't find any options that might relate to this behaivor. I also can't understand why tmux would mess with shell redirection.

Anybody have any clues?

© Super User or respective owner

Related posts about osx

Related posts about tmux