I have changed the emacs-shell mode shell to WSL ubuntu but however, the prompt is not very user-readable. For this reason I would like to execute a script that changes it so that its more readable using: 

```
PS1='\u@\h:\w\$'

```

every time I enter `M-x shell`
At the same time, I would like to keep my prompt as is outside of emacs as it has color coding etc enabled so I want the change to only affect emacs hence my question. Is it possible?