mirror of
https://github.com/tmux-plugins/tmux-yank.git
synced 2026-09-10 07:36:17 -04:00
Merge d87d9bb8c6 into acfd36e4fc
This commit is contained in:
commit
1545d37ac0
|
|
@ -28,7 +28,10 @@
|
|||
|
||||
error_handling_if_command_not_present() {
|
||||
local copy_command="$1"
|
||||
if [ -z "$copy_command" ]; then
|
||||
if [ -n "$DISPLAY" ] || [ -n "$WAYLAND_DISPLAY" ]; then
|
||||
local display_present=true
|
||||
fi
|
||||
if [ -z "$copy_command" ] && [ -n "$display_present" ]; then
|
||||
set_error_bindings
|
||||
exit 0
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue