From c9288bd454f10cd8ed918ff45cc471e6ce30aa28 Mon Sep 17 00:00:00 2001 From: neodarz Date: Mon, 7 May 2018 20:58:39 +0200 Subject: Use XA_CLIPBOARD instead of XA_PRIMARY --- zsh-system-clipboard.zsh | 4 ++-- 1 file 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' } -- cgit v1.2.1