Allow disabling prompt and/or tmux support in shells

Fixes #849
Merge branch 'allow-disabling-prompt-support' into develop