pash: clean up
This commit is contained in:
parent
01a92c8a66
commit
c56ba9d2a4
3
pash
3
pash
|
@ -75,8 +75,7 @@ pw_copy() {
|
|||
# If the 'sleep' fails, kill the script. This is the
|
||||
# simplest method of aborting from a subshell.
|
||||
[ "$PASH_TIMEOUT" != off ] && {
|
||||
printf 'Clearing clipboard in "%s" seconds.\n' \
|
||||
"${PASH_TIMEOUT:=15}"
|
||||
printf 'Clearing clipboard in "%s" seconds.\n' "${PASH_TIMEOUT:=15}"
|
||||
|
||||
sleep "$PASH_TIMEOUT" || kill 0
|
||||
$PASH_CLIP </dev/null
|
||||
|
|
Loading…
Reference in New Issue