From 2c5209f6d5727cafa17378d490ed43627d1e5c83 Mon Sep 17 00:00:00 2001 From: Mathieu Ablasou Date: Fri, 23 Oct 2020 21:56:56 +0200 Subject: kak-shell: Sleep a slight amount of time --- bin/kak-shell | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/kak-shell b/bin/kak-shell index a38b5f4..2bf8bd5 100755 --- a/bin/kak-shell +++ b/bin/kak-shell @@ -36,7 +36,7 @@ wait_for_session() { # Wait for session # Grep in quiet mode with fixed strings and whole line switches while ! kak -l | grep -q -F -x "$session"; do - continue + sleep 0.1 done } -- cgit v1.2.3