mirror of
https://github.com/tmux-plugins/tmux-yank.git
synced 2026-09-10 07:36:17 -04:00
Merge d5960f5d74 into 68c5c7ca6f
This commit is contained in:
commit
d4b1e1e1c9
|
|
@ -108,7 +108,9 @@
|
|||
|
||||
clipboard_copy_command() {
|
||||
# installing reattach-to-user-namespace is recommended on OS X
|
||||
if command_exists "pbcopy"; then
|
||||
if [ -n "$(custom_copy_command)" ]; then
|
||||
custom_copy_command
|
||||
elif command_exists "pbcopy"; then
|
||||
if command_exists "reattach-to-user-namespace"; then
|
||||
echo "reattach-to-user-namespace pbcopy"
|
||||
else
|
||||
|
|
@ -126,8 +128,6 @@
|
|||
echo "xsel -i --$xsel_selection"
|
||||
elif command_exists "putclip"; then # cygwin clipboard command
|
||||
echo "putclip"
|
||||
elif [ -n "$(custom_copy_command)" ]; then
|
||||
custom_copy_command
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue