I want to change the title of the gnome-terminal window to reflect the current directory. Is there a way to do that? A script may be? The "change terminal title" threads did not help much. Manually when we use the command:
gnome-terminal --title=$PWD
it works, but a new terminal instance is created (as expected). I want to be able to use the
--title=$PWD
with the cd command.
Is there a way to achieve that?