mintty / wsltty

Mintty as a terminal for Bash on Ubuntu on Windows / WSL
Other
3.12k stars 104 forks source link

wsltty 3.0.0 has wrong default directory name #167

Closed Po-wei closed 5 years ago

Po-wei commented 5 years ago

before this version, when I opened wsltty, the title bar shows ~ but now it just shows the parameters. and cd image

mintty commented 5 years ago

There was no change. Maybe your WSL distribution has changed, not to set the title? Please check your "$PS1" prompt setting.

mintty commented 5 years ago

It may happen if your .bashrc is not called (reproduced with a previous version). This is a peculiarity of WSL distributions. Change your .profile to make sure .bashrc is also called.

mintty commented 5 years ago

Mintty shall initialise the title to the WSL distribution name ("WSL" if default) rather than the command line. Whether your WSL shell further updates the title to the respective directory name (or anything else) is out of scope of wsltty.

mintty commented 5 years ago

Released 3.0.1.