Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 47263

macOS is the current marketing name for Apple's Macintosh Operating System. This OS was previously known as OS X, and Mac OS X before that (which itself succeeded the 'classic' Mac OS).

22 votes
Accepted

Terminal Tab Title after SSH Session

Since macOS Catalina 10.15, the default interactive shell is zsh. zsh offers the precmd function which executes before each prompt. https://zsh.sourceforge.io/Doc/Release/Functions.html#index-precmd Add … the following to your ~/.zshrc file. precmd() { eval "echo -ne '\033]0;${USER}@${HOST}\007'" } Before macOS Catalina 10.15, the default interactive shell was bash. …
s01ipsist's user avatar
  • 344