Revert "Remove autoclose"

This reverts commit 18063949b9a1b0c03ea092a104d0b2ebdc772d86.
Revert "Add newline to beginning of bash prompt"

This reverts commit 1c6cd9697566f8a588ea6fd1c506b52c51b39d93.

Clashes with python virtualenv