~earboxer/zachme

zachme/prototype/zachme-prototype.sh -rwxr-xr-x 138 bytes
d1c47f7aZach DeCook micro: simplify bindings 6 months ago
                                                                                
1
2
3
4
5
6
7
#!/bin/sh

printf \n |wl-copy
wl-paste -t text --watch xargs -I{} sh -c '{}' >>"$1" 2>errs &
PPID=$!
trap "kill $PPID" EXIT
micro -- "$1"