aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xvis-copy2
-rwxr-xr-xvis-paste2
2 files changed, 2 insertions, 2 deletions
diff --git a/vis-copy b/vis-copy
index 80d1a07..d820d79 100755
--- a/vis-copy
+++ b/vis-copy
@@ -1,7 +1,7 @@
#!/bin/sh
if [ ! -z "$DISPLAY" ]; then
- exec xsel -i
+ exec xsel -ib
elif type pbcopy >/dev/null 2>&1; then
exec pbcopy
else
diff --git a/vis-paste b/vis-paste
index 232da2e..a934e63 100755
--- a/vis-paste
+++ b/vis-paste
@@ -1,7 +1,7 @@
#!/bin/sh
if [ ! -z "$DISPLAY" ]; then
- exec xsel -o
+ exec xsel -ob
elif type pbpaste >/dev/null 2>&1; then
exec pbpaste
else