From f7516d5c4336acd570a2dffdb4b825a368c238d8 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Sat, 8 Jan 2022 00:08:33 -0500 Subject: [PATCH] errors: output to error file --- prototype/zachme-prototype.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prototype/zachme-prototype.sh b/prototype/zachme-prototype.sh index 742a654..a0c3994 100755 --- a/prototype/zachme-prototype.sh +++ b/prototype/zachme-prototype.sh @@ -1,7 +1,7 @@ #!/bin/sh printf \n |wl-copy -wl-paste -t text --watch xargs -I{} sh -c '{}' >>"$1" & +wl-paste -t text --watch xargs -I{} sh -c '{}' >>"$1" 2>errs & PPID=$! trap "kill $PPID" EXIT micro -- "$1" -- 2.34.2