aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 ))