refine the emacs config. Especially use login bash