These new styles that may be used to add a prefix to the window and tab title strings. These undergo prompt expansion. zstyle ':prezto:module:terminal' prefix '%n @ %m: ' zstyle ':prezto:module:terminal' tabprefix '%m: ' |
||
---|---|---|
.. | ||
init.zsh | ||
README.md |
Terminal
Sets terminal window and tab titles.
Settings
Auto-Title
To auto set the terminal window and tab titles with the current command or directory, add the following to zpreztorc:
zstyle ':prezto:module:terminal' auto-title 'yes'
A user-defined prefix may be added to the title using the following styles, which undergo prompt expansion:
zstyle ':prezto:module:terminal' prefix '%n @ %m: '
zstyle ':prezto:module:terminal' tabprefix '%n @ %m: '
Functions
set-screen-window-title
sets the screen title.set-terminal-tab-title
sets the terminal tab title.set-terminal-window-title
sets the terminal window title.set-titles-with-command
sets the screen and terminal titles with a given command.set-titles-with-path
sets the screen and terminal titles with a given path.
Authors
The authors of this module should be contacted via the issue tracker.