From 6e8e828fd5a1a9665ef51004ee7b69a9b5ad4c16 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Wed, 20 Mar 2024 23:47:13 -0400 Subject: [PATCH] Add wait-for alias --- fake_home/.shell_aliases | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fake_home/.shell_aliases b/fake_home/.shell_aliases index 0c18432..8deb8c2 100755 --- a/fake_home/.shell_aliases +++ b/fake_home/.shell_aliases @@ -18,6 +18,10 @@ function helpdef { return 1 } +function wait-for { + while ! $@; do sleep 1; done +} + function slides() { OLD_PATH="$PATH" PATH="$HOME/.slides-bin:$PATH"