Recognise variable and function definitions as environment setup commands
Add support for replacing Readline with Libedit