I have start emacs as daemon through (
emacs --daemon). I then launch the client (
emacsclient -c) and use its shell mode through (
M-x shell RET). However the prompt starts with:
I have changed the value of
export PS1="\w\$ " in
.bash_profile. So any idea how to change the value of
PS1 in the shell of emacsclient?
Edit: or an equal question is: where does emacsclient get environment variables, e.g. $PATH, $PS1 ...? Knowing this will solve my question.