I manage to solve the problem in two steps:
- In Settings > Apperance & Behavior > System Settings disable "Use safe write"
- Set terminal path to Ubuntu Bash
C:\Windows\System32\bash.exe
(I don't think that is matters but it's nice to integrate it)
Now everything seem to work fine.