mirror of https://github.com/rwxrob/dot
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
229 B
Plaintext
16 lines
229 B
Plaintext
3 years ago
|
#!/bin/sh
|
||
|
|
||
|
buf="$*"
|
||
|
|
||
|
if test -n "$buf"; then
|
||
|
#echo "*$buf" >$WEECHAT_FIFO
|
||
|
tmux -L live send -t 2 "$buf" Enter
|
||
|
exit
|
||
|
fi
|
||
|
|
||
|
IFS=
|
||
|
while read -r line; do
|
||
|
#echo "*$line" >$WEECHAT_FIFO
|
||
|
tmux -L live send -t 2 "$line" Enter
|
||
|
done
|