Skip to content

Commit 15b9980

Browse files
committed
readme: clarified need for reattach
Closes #73 #31
1 parent 88e74c0 commit 15b9980

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,25 @@ the system clipboard.
6868

6969
- [`reattach-to-user-namespace`](https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard)
7070

71-
**Note**: Beginning with OSX Yosemite (10.10), `pbcopy` is reported to work
72-
correctly with `tmux` without `reattach-to-user-namespace`.
71+
**Note**: Some versions of macOS (aka OS X) have been reported to work
72+
without `reattach-to-user-namespace`. It doesn't hurt to have it installed.
73+
74+
- OS X 10.8: Mountain Lion – *required*
75+
- OS X 10.9: Mavericks – *required*
76+
- OS X 10.10: Yosemite – *not required*
77+
- OS X 10.11: El Capitan – *not required*
78+
- macOS 10.12: Sierra – *required*
79+
80+
The easiest way to use `reattach-to-user-namespace` with `tmux` is use to
81+
use the [`tmux-sensible`](https://github.com/tmux-plugins/tmux-sensible)
82+
plugin.
83+
84+
To use it manually, use:
85+
86+
``` tmux
87+
# ~/.tmux.conf
88+
set-option -g default-command "reattach-to-user-namespace -l $SHELL"
89+
```
7390
7491
If you have `tmux` 1.5 or newer and are using
7592
[iTerm2](https://www.iterm2.com/) version 3 or newer then the <kbd>y</kbd>

0 commit comments

Comments
 (0)