| commit | 78352fdd328b611d935ba051288191b33278cc4a | [log] [download] |
|---|---|---|
| author | Nicholas Marriott <nicholas.marriott@gmail.com> | Tue Jun 06 07:59:53 2017 +0100 |
| committer | Nicholas Marriott <nicholas.marriott@gmail.com> | Tue Jun 06 07:59:53 2017 +0100 |
| tree | f2d8026577daf69fbd54ca10d6a853b5dd65d204 | |
| parent | 63f8a2cb89f776456298c3e215afcceec064ff5b [diff] |
Add a small dance to daemon() to reattach tmux to the user's namespace (which
allows access to the clipboard) on OS X 10.10 and above.
Chis Johnsen has done much work on and documentation of this issue, the code is
copied (with some tweaks) from his reattach-to-user-namespace at:
https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard
Tested by Enrico Ghirardi.
Will see how this goes, if it breaks stuff it might go away again.