3 ms·
Have a function similiar to this, reruns the last test command function retest set --local cmd (history | grep -v history | grep -Em1 "((bundle exec)?r
by bauerd 6y ago
Have a function similiar to this, reruns the last test command
function retest
set --local cmd (history | grep -v history | grep -Em1 "((bundle exec)?rspec|go test|jest)")
echo "Rerunning `$cmd`"
eval $cmd
end