summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Ablasou <alexherbo2@gmail.com>2020-10-23 21:56:56 +0200
committerMathieu Ablasou <alexherbo2@gmail.com>2020-10-23 21:56:56 +0200
commit2c5209f6d5727cafa17378d490ed43627d1e5c83 (patch)
treee8e002e7150b18142fbdb487e59e018cb2e9fd6f
parent69001606d4e3ec652eac1def425941012e10a018 (diff)
kak-shell: Sleep a slight amount of time
-rwxr-xr-xbin/kak-shell2
1 files changed, 1 insertions, 1 deletions
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
}