aboutsummaryrefslogtreecommitdiff
path: root/vis-clipboard
diff options
context:
space:
mode:
authorRandy Palamar <palamar@ualberta.ca>2023-05-25 16:49:47 -0600
committerRandy Palamar <palamar@ualberta.ca>2023-06-09 08:49:42 -0600
commitf64a644294f268f8386c61faec6242b9ca0787f8 (patch)
tree862b8d730d874123f32e3d79507f1f5e380a6488 /vis-clipboard
parente391d16c8813b5abe1695f7e844ee220baa00dd8 (diff)
downloadvis-f64a644294f268f8386c61faec6242b9ca0787f8.tar.gz
vis-f64a644294f268f8386c61faec6242b9ca0787f8.tar.xz
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
Diffstat (limited to 'vis-clipboard')
-rwxr-xr-xvis-clipboard4
1 files changed, 0 insertions, 4 deletions
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