aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKutsan Kaplan <me@kutsankaplan.com>2017-10-25 16:46:45 +0300
committerKutsan Kaplan <me@kutsankaplan.com>2017-10-25 16:46:45 +0300
commit09bed89e7d209b0265d1b96229b3999dc555973c (patch)
tree5ba5c37db9dbfe463a72f1742ecd5e5db62ec855
parentfa8d691e6a71754593821ebcd1fffe9efae78903 (diff)
downloadzsh-system-clipboard.zsh-09bed89e7d209b0265d1b96229b3999dc555973c.tar.xz
zsh-system-clipboard.zsh-09bed89e7d209b0265d1b96229b3999dc555973c.zip
Disable tmux support by default
Diffstat (limited to '')
-rw-r--r--zsh-system-clipboard.zsh3
1 files changed, 0 insertions, 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 ))