From f64a644294f268f8386c61faec6242b9ca0787f8 Mon Sep 17 00:00:00 2001 From: Randy Palamar Date: Thu, 25 May 2023 16:49:47 -0600 Subject: vis-clipboard: don't fail when sel is primary on unsupported platforms this is mostly useful for the internal vis usage and makes both `*` and `+` registers work on macOS/cygwin. fixes: #1067 --- vis-clipboard | 4 ---- 1 file changed, 4 deletions(-) (limited to 'vis-clipboard') diff --git a/vis-clipboard b/vis-clipboard index bb993e7..fd9cf7b 100755 --- a/vis-clipboard +++ b/vis-clipboard @@ -37,10 +37,6 @@ vc_determine_command() { done fi - if [ "$sel" = "primary" ]; then - vc_fatal "clipboard primary selection is not supported on your platform" - fi - if command -v pbcopy >/dev/null 2>&1; then echo 'mac' return 0 -- cgit v1.2.3