Is it possible to change the title that Bash on Ubuntu on Windows displays in its title bar? By default it's set to <username>@<computername>:<CWD>. I'd like to, say, add Bash on Ubuntu on Windows: as a prefix to it.

I've tried some solutions that added different lines to .bashrc (such as using xtitle), but the problem is that BoUoW changes its title every time it changes the CWD, so it just immediately overrides whatever you set in .bashrc.

Is there a way to permanently either add a prefix or fully change the tile?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.