To change the terminal title |
---|
To change the title of the currently displayed terminal, perform the following three steps:
To reset the terminal title to its default behavior, perform the same three steps as described above, but enter an empty title.
Terminal will substitute these tokens:
%d
: name of the current directory (short).%D
: current directory (long).%w
: window title set by shell.%#
: the session id.This section provides some advice if you have problems with terminals.
reset
and clear
.