I have good news for you. The indented literal block is special just for this case. When used in a list item, it works without any other markup. So the following will work:
1. Change to the foo dir
cd foo
2. Etc.
You can see many examples of this in the README files in the asciidoctor organization. Here's one example:
(see the raw file for details)