=== removed file 'kweasy' --- kweasy 2016-08-04 05:47:21 +0000 +++ kweasy 1970-01-01 00:00:00 +0000 @@ -1,9 +0,0 @@ -#!/bin/sh -PANE=$(tmux list-panes -F '#{?pane_active,#D,}' | tr -d '\n\r ') -test -n "$TMUX_PANE" || exit 2 -test "$TMUX_PANE" = "$PANE" || exit 2 -if test -n "$1"; then - tmux run-shell "tmux neww -d 'env FIND=\"$(printf '%s\n' "$1"|sed 's/[\$\\`"]/\\&/g')\" kweasy-pane #{pane_id}'" -else - tmux run-shell "tmux neww -d 'kweasy-pane #{pane_id}'" -fi === removed file 'kweasy-pane' --- kweasy-pane 2016-08-04 05:47:21 +0000 +++ kweasy-pane 1970-01-01 00:00:00 +0000 @@ -1,38 +0,0 @@ -#!/bin/sh -# DEBUG=1 -test -n "$DEBUG" && set -x -die() { - tmux display-message "kweasy-pane error: $*" - sleep 1 - exit 2 -} -die-swap() { - tmux swap-pane -t $PANE - die "$@" -} -test -n "$TMUX_PANE" || exit 2 -if test -n "$1"; then - PANE=$1 -else - PANE=$(tmux list-panes -F '#{?pane_active,#D,}' | tr -d '\n\r ') -fi -test -n "$PANE" || die "Could not detect active pane" -if test "$TMUX_PANE" = "$PANE"; then - die "This command needs to run in background pane ${TMUX_PANE//%/%%} | ${PANE//%/%}" -fi -# tmux display-message "kweasy-pane running: source=$PANE display=$TMUX_PANE" -if test -n $FIND; then - tmux capturep -b kweasy -t "$PANE" \; \ - swap-pane -t "$PANE" - test -n "$DEBUG" && echo 'Ready!' && read -else - tmux capturep -b kweasy -t "$PANE" \; \ - showb -b kweasy \; \ - swap-pane -t "$PANE" | \ - awk 'NR>1{print line} {line=$0} END{printf "%s", line}' - FIND=$(tty-readbyte) -fi -test -n "$FIND" || die-swap "nothing to match" -tmux saveb -b kweasy - | kweasy.awk FIND="$FIND" -test -n "$DEBUG" && echo "Done! ($?)" && read -tmux swap-pane -t $PANE === removed file 'kweasy-url' --- kweasy-url 2016-08-04 05:47:21 +0000 +++ kweasy-url 1970-01-01 00:00:00 +0000 @@ -1,2 +0,0 @@ -#!/bin/sh -exec kweasy '(https?|ftp|file|gopher|mailto|news|nntp|telnet|wais|prospero)://[-a-zA-Z0-9_@]+([.:][-a-zA-Z0-9_@]+)*/?[-a-zA-Z0-9_?,%#~&/+=]+([:.][-a-zA-Z0-9_?,%#~&/+=]+)*'