I set up a very nice custom bash prompt in .bash_profile
, but I noticed that I've now lost the ability for new tabs to open in the same directory, and the ability to see the current working directory's icon in the titlebar.
How can I get that back?
I've made some progress in the direction by adding "\e]2;\w\a"
to $PS1
, but that displays the full path in the titlebar, not just the name of the working directory. Any suggestions would be greatly appreciated.