From 34d1e4484a8a140b1b7dcbc4e3bdf2964903c284 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 30 Nov 2019 10:41:33 +0000 Subject: [PATCH] pash: Use brace group instead of subshell and send /dev/null to clipboard manager --- pash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pash b/pash index f0296a1..b4c11eb 100755 --- a/pash +++ b/pash @@ -68,10 +68,10 @@ pw_copy() { # # If the 'sleep' fails, kill the script. This is the # simplest method of aborting from a subshell. - ( + { sleep "$PASH_TIMEOUT" || kill 0 - printf '' | $PASH_CLIP - ) & + $PASH_CLIP