1

currently this is how my terminal bar looks like, it's showing my full name and the hostname. I'd like to configure it so that this is removed and it only shows the directory, but I don't know how.

enter image description here

  • Please enter the following command into your Terminal: [return]echo "${PS1}" [return] and insert the result within your original question (OQ). – dan Jul 22 at 10:01
  • I inputted echo "${PS1}" into the terminal and got this output ${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info). Didn't seem to change anything. – BP9381 Jul 22 at 10:04
  • Please enter the following command into your Terminal: [return] echo "$(git_prompt_info)" [return] and insert the result within your original question (OQ) – dan Jul 22 at 10:16
1

If you go into Terminal and press Cmd + ,, it will open up the preferences. Click the Profiles tab on the top.

Then click the Window tab.

Then you can set a title and uncheck the "Working directory", "Active Process", and everything else under the Title section.

This will make it look like this:

  • This doesn't work. I unchecked everything, but it still shows username@hostname. – BP9381 Jul 22 at 6:52
  • @BP9381, can you edit your post to show a screenshot of the "Window" page? – existing person Jul 23 at 2:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .