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
|
||||
}
|
||||
|
||||
function until-fail {
|
||||
while "$@"; do :; done
|
||||
}
|
||||
|
||||
function zsh-time {
|
||||
for i in $(seq 1 10); do
|
||||
time zsh -i -c exit
|
||||
|
|
Loading…
Reference in a new issue