aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zsh-system-clipboard.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/zsh-system-clipboard.zsh b/zsh-system-clipboard.zsh
index 24be9be..2d9c9db 100644
--- a/zsh-system-clipboard.zsh
+++ b/zsh-system-clipboard.zsh
@@ -41,8 +41,8 @@ function _zsh_system_clipboard_api() {
linux*)
if (hash xclip 2>/dev/null) {
- typeset -g CLIPBOARD[set]='xclip -in'
- typeset -g CLIPBOARD[get]='xclip -out'
+ typeset -g CLIPBOARD[set]='xclip -i -sel clip'
+ typeset -g CLIPBOARD[get]='xclip -o -sel clip'
} else {
_console.error_and_suggest_to_install 'xclip'
}