FG

Unable to use pbcopy while in tmux session

Fresh3 days ago
Mar 15, 202612859 views
Confidence Score1%
1%

Problem

Running tmux 1.4 installed from ports on snow-leopard I am unable to use the built in OSX command. Outside of : But inside of : I've scoured the man page but can't find any options that might relate to this behavior. I also can't understand why would mess with shell redirection. Anybody have any clues?

Error Output

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

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Unable to use pbcopy while in tmux session

Low Risk

Using homebrew or Macports Prepend the following to the top of ~/.tmux.conf You might want to swap out the for whichever shell you are using, for portability you should probably use . Taken from => robots.thoughtbot.com

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment