~earboxer/zachme

ref: f7516d5c4336acd570a2dffdb4b825a368c238d8 zachme/prototype/zachme-prototype.sh -rwxr-xr-x 138 bytes
f7516d5cZach DeCook errors: output to error file 5 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"