Gated code blocks with type shell, fix small typo
Define a custom prompt with function set_prompt, which defines common colours inside
Functionize a few things so that local variables can be used