From 09bed89e7d209b0265d1b96229b3999dc555973c Mon Sep 17 00:00:00 2001 From: Kutsan Kaplan Date: Wed, 25 Oct 2017 16:46:45 +0300 Subject: Disable tmux support by default --- zsh-system-clipboard.zsh | 3 --- 1 file changed, 3 deletions(-) diff --git a/zsh-system-clipboard.zsh b/zsh-system-clipboard.zsh index a0b0d88..117c011 100644 --- a/zsh-system-clipboard.zsh +++ b/zsh-system-clipboard.zsh @@ -56,8 +56,6 @@ function _zsh_system_clipboard_api() { determinate_clipboard_manager function sub_set() { - local ZSH_SYSTEM_CLIPBOARD_TMUX_SUPPORT='true' - if [[ "$ZSH_SYSTEM_CLIPBOARD_TMUX_SUPPORT" != '' ]] { # Set also tmux clipboard buffer if tmux available. if (hash tmux &>/dev/null && [[ "$TMUX" != '' ]]) { @@ -108,7 +106,6 @@ function zsh-system-clipboard-key-Y() { function zsh-system-clipboard-key-p() { local CLIPBOARD=$(_zsh_system_clipboard_api get) - tmux display-message $CLIPBOARD BUFFER="${BUFFER:0:$(( ${CURSOR} + 1 ))}${CLIPBOARD}${BUFFER:$(( ${CURSOR} + 1 ))}" CURSOR=$(( $#LBUFFER + $#CLIPBOARD )) -- cgit v1.2.1