When terminating a terminal session in macOS, the system typically displays a [Process completed] prompt. Following this prompt, the Terminal becomes inactive, preventing users from entering any subsequent commands. As a result, users need to manually close the terminal window.

This prompt serves as a confirmation that the terminal session has ended. However, for users who frequently engage with the terminal, this can be cumbersome.

Saving session...completed.
Deleting expired sessions...none found.

[Process completed]

To ensure a seamless terminal experience in macOS, one can opt to suppress the [Process completed] prompt. Disabling this message can streamline the process and ensure a smoother user experience, free from unexpected interruptions.

Steps to prevent the [Process completed] prompt in macOS Terminal:

  1. Launch the Terminal application.
  2. Navigate to Terminal > Settings in the menu bar.
  3. Click on the Profiles tab.
  4. Select your desired profile from the left pane.

    Basic is the default profile and it's safe to just select it if you can't remember ever changing the profiles settings.

  5. Go to the Shell tab.
  6. Click on the When the shell exits select list.
  7. Choose Close if the shell exited cleanly or Close the window from the option's select list.
Discuss the article:

Comment anonymously. Login not required.