Run a command until it exits with failure
This commit is contained in:
parent
b0ddcb9f55
commit
ec677a8d74
1 changed files with 4 additions and 0 deletions
|
@ -116,6 +116,10 @@ function test-rails {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function until-fail {
|
||||||
|
while "$@"; do :; done
|
||||||
|
}
|
||||||
|
|
||||||
function zsh-time {
|
function zsh-time {
|
||||||
for i in $(seq 1 10); do
|
for i in $(seq 1 10); do
|
||||||
time zsh -i -c exit
|
time zsh -i -c exit
|
||||||
|
|
Loading…
Reference in a new issue