The shell auto-image now runs code and turns the output into an image that is embedded into the document The prompt is configurable in /bin/prompt The first draft is done up until the references section
11 lines
274 B
Bash
Executable file
11 lines
274 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
DIR="$(dirname "$(readlink -f "$0")")"
|
|
cd /tmp/demo
|
|
echo '$ touch greeting.py'
|
|
cp "${DIR}/../code-examples/python-start.py" greeting.py
|
|
echo '$ chmod +x !$'
|
|
chmod +x greeting.py
|
|
echo '$ vim greeting.py'
|
|
echo '$ git status'
|
|
git -c color.ui=always status
|