appease yaml

yaml can't handle plain bash syntax, so I have to use the long form if