I want the shell of emacs show the absolute path. My system shell is config like following
export PS1='\u@MacAir:\w$ '
I have try this way. It can't work for me .
PS: My emacs is emacs24
Solution : Add export PS1='\u@MacAir:\w$ '
into ~/.bashrc