This repository has been archived on 2022-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
prezto/modules/terminal/README.md

45 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

Terminal
========
Sets terminal window and tab titles.
Settings
--------
### Auto-Title
2013-08-27 15:53:49 -04:00
To auto set the terminal window and tab titles with the current command or
directory, add the following to *zpreztorc*:
2013-08-27 15:53:49 -04:00
zstyle ':prezto:module:terminal' auto-title 'yes'
Auto titling is disabled inside terminal multiplexers, except inside dvtm, since
it interferes with window names defined in configuration files and profile
managers.
To format terminal window and tab titles, add the following to *zpreztorc*:
zstyle ':prezto:module:terminal:window-title' format '%n@%m: %s'
zstyle ':prezto:module:terminal:tab-title' format '%m: %s'
`%s` will be replaced with the current working directory path or the currently
executing program name.
For a list of sequences, see [Expansion of Prompt Sequences][1].
2012-09-25 01:30:20 -04:00
Functions
---------
2013-08-27 15:53:49 -04:00
- `set-tab-title` sets the terminal tab title.
- `set-window-title` sets the terminal or terminal multiplexer window title.
2012-09-25 01:30:20 -04:00
Authors
-------
*The authors of this module should be contacted via the [issue tracker][2].*
- [Sorin Ionescu](https://github.com/sorin-ionescu)
[1]: http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html#Expansion-of-Prompt-Sequences
[2]: https://github.com/sorin-ionescu/prezto/issues