Change Profiles Tab settings in Terminal on Mac
Use Tab settings in Terminal to specify the information that appears in the title of tabs for a Terminal window profile.
To change these settings in the Terminal app on your Mac, choose Terminal > Settings, click Profiles, select a profile, then click Tab.
Note: The settings you choose in this pane apply only to the profile you select. They don’t apply to the Terminal app in general.
Select information to display in the title for a tab.