should've checked before committing

This commit is contained in:
2024-10-22 17:58:01 +03:00
parent 7e300fc04e
commit a6bc546570

View File

@@ -10,6 +10,11 @@
# vars none # vars none
# reload none # reload none
if pids=$(pgrep -fx 'nvim'); then handle_usr1() {
return
}
trap handle_usr1 USR1
if pids=$(pgrep -f 'nvim'); then
echo "$pids" | xargs kill -USR1 echo "$pids" | xargs kill -USR1
fi fi