Run a command until it exits with failure

This commit is contained in:
Andrew Tomaka 2023-04-17 08:49:28 -04:00
parent b0ddcb9f55
commit ec677a8d74
Signed by: atomaka
GPG Key ID: 61209BF70A5B18BE
1 changed files with 4 additions and 0 deletions

View File

@ -116,6 +116,10 @@ function test-rails {
fi
}
function until-fail {
while "$@"; do :; done
}
function zsh-time {
for i in $(seq 1 10); do
time zsh -i -c exit