I'm using MSYS2-x86_64, and whenever I do M-x shell
I see the following:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
]0;~/.emacs.d
There is a partial solution: Setting PS1:
export PS1="\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$"
However I have to A) source .bashrc
after launching M-x shell
(...which doesn't make sense), and it doesn't solve the ioctl message.
Is there an actual fix for this? Not just a PS1 patch? Should I just ignore it? It looks like I can spin off another copy of emacs (from within Emac's M-x shell
, launching MSYS2's bash) and kill it with kill [PID], so what am I missing?