mirror of
https://github.com/tmux-plugins/tmux-yank.git
synced 2026-09-10 07:36:17 -04:00
Improve requirements check for OS X
This commit is contained in:
parent
cf98b09425
commit
a8da4c2a96
|
|
@ -3,6 +3,7 @@
|
|||
### master
|
||||
|
||||
- updated readme
|
||||
- for OS X, also check if 'reattach-to-user-namespace' is installed
|
||||
|
||||
### v0.0.1, Jun 24, 2014
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,8 @@
|
|||
clipboard_copy_command() {
|
||||
if command_exists "xclip"; then
|
||||
echo "xclip"
|
||||
elif command_exists "pbcopy"; then
|
||||
# reattach-to-user-namespace is required for OS X
|
||||
elif command_exists "pbcopy" && command_exists "reattach-to-user-namespace"; then
|
||||
echo "reattach-to-user-namespace pbcopy"
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue