aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-05-07 20:58:39 +0200
committerneodarz <neodarz@neodarz.net>2018-05-07 20:58:39 +0200
commitc9288bd454f10cd8ed918ff45cc471e6ce30aa28 (patch)
tree2c7565dac8c2d3e5653429be4383027d860a1bf1
parentb6e6f383e0b2f232eec80410ca4a9cc53d39b5a6 (diff)
downloadzsh-system-clipboard.zsh-master.tar.xz
zsh-system-clipboard.zsh-master.zip
Use XA_CLIPBOARD instead of XA_PRIMARYHEADmaster
-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'
}