On OS X, the pbcopy and pbpaste commands stop working inside a tmux session, along with a few other things. I ran into this soon after switching to tmux from GNU screen. I'd been told that screen was badly outdated, and an excellent book on tmux had just been published. I'm glad I switched, because tmux is a clear improvement.

This post explains the clipboard fix. In short, install reattach-to-user-namespace:

brew install reattach-to-user-namespace

and add this to ~/.tmux.conf:

# Reattach to user namespace so that clipboard integration with OSX works again
set-option -g default-command "reattach-to-user-namespace -l zsh"

Replace zsh with whatever shell you use.