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 behavior. I also can't understand why tmux
would mess with shell redirection.
Anybody have any clues?
xclip
on Linux. By the way,echo pbpaste
should result in "pbpaste".