Changing the Terminal Title |
---|
The following three steps will change the title of the currently displayed terminal:
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
.