Updated and refined bash and emacs configs