-1

How to change the title of Terminal to be the Current folder Name?

for example i'm in the folder test then the terminal title should be test as well.

Note : i don't want the full path that comes before the folder name(for example ../user/home..)

marked as duplicate by Mark Kirby, heemayl command-line Dec 18 '15 at 11:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1

This happens anyway, I don't get your point

In /home

enter image description here

Moved to ~/Documents

enter image description here

If this does not answer your question, then you need to edit your question for clarity.

  • yes, but i don't want the prefix that comes before the folder Name(username and the other stuff) – ismnoiet Dec 18 '15 at 11:13
  • 1
    Then say this in your question, if you don't say that how can anyone know what you want ? – Mark Kirby Dec 18 '15 at 11:14
  • you're right i was thinking it is abvious as i said change the title of the terminal to the folder name and not the complete full path the current folder – ismnoiet Dec 18 '15 at 11:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.