fix bash prompt and cleanup unused cruft