=== removed file 'xclip2tmux' --- xclip2tmux 2012-06-26 19:30:51 +0000 +++ xclip2tmux 1970-01-01 00:00:00 +0000 @@ -1,18 +0,0 @@ -#!/bin/zsh -umask 077 -while sleep 1; do - prev_clipboard=$clipboard - prev_buffer=$buffer - clipboard="$(xclip -o -selection clipboard)" - buffer="$(tmux save-buffer -)" - if [[ $clipboard != $buffer ]]; then - if [[ $prev_clipboard != $clipboard ]]; then - #echo 'clipboard -> tmux' - printf '%s' $clipboard | tmux load-buffer - - elif [[ $prev_buffer != $buffer ]]; then - #echo 'tmux -> clipboard' - printf '%s' $buffer | xclip -i -selection clipboard - printf '%s' $buffer | xclip -i -selection primary - fi - fi -done