mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-01 22:09:25 +00:00
general: Reformat documentation with better formatting and wording
General purpose reformating and rewording in (a few places). This should also make markdown linting happier. Prefer back-ticks wherever useful and use `console` for code blocks to be executed on terminal. Also, update references links wherever possible (including update from 'http://' to 'https://').
This commit is contained in:
committed by
Indrajit Raychaudhuri
parent
8edc5e9323
commit
d80e393f78
@ -1,23 +1,21 @@
|
||||
Terminal
|
||||
========
|
||||
# Terminal
|
||||
|
||||
Sets terminal window and tab titles.
|
||||
|
||||
Settings
|
||||
--------
|
||||
## Settings
|
||||
|
||||
### Auto-Title
|
||||
|
||||
To auto set the terminal window and tab titles with the current command or
|
||||
directory, add the following to *zpreztorc*:
|
||||
directory, add the following to *~/.zpreztorc*:
|
||||
|
||||
```sh
|
||||
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. This can be overridden by setting it to `always`.
|
||||
Auto titling is disabled inside terminal multiplexers (except inside dvtm) since
|
||||
it interferes with window names defined in configuration files and profile
|
||||
managers. This can be overridden by setting it to `always`.
|
||||
|
||||
```sh
|
||||
zstyle ':prezto:module:terminal' auto-title 'always'
|
||||
@ -25,7 +23,7 @@ zstyle ':prezto:module:terminal' auto-title 'always'
|
||||
|
||||
### Title formats
|
||||
|
||||
To format terminal window and tab titles, add the following to *zpreztorc*:
|
||||
To format terminal window and tab titles, add the following to *~/.zpreztorc*:
|
||||
|
||||
```sh
|
||||
zstyle ':prezto:module:terminal:window-title' format '%n@%m: %s'
|
||||
@ -38,20 +36,18 @@ executing program name.
|
||||
|
||||
For a list of sequences, see [Expansion of Prompt Sequences][1].
|
||||
|
||||
Functions
|
||||
---------
|
||||
## Functions
|
||||
|
||||
- `set-tab-title` sets the terminal tab title.
|
||||
- `set-window-title` sets the terminal window title.
|
||||
- `set-multiplexer-title` sets the terminal multiplexer title.
|
||||
|
||||
Authors
|
||||
-------
|
||||
## Authors
|
||||
|
||||
*The authors of this module should be contacted via the [issue tracker][2].*
|
||||
|
||||
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
||||
- [Olaf Conradi](https://github.com/oohlaf)
|
||||
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
||||
- [Olaf Conradi](https://github.com/oohlaf)
|
||||
|
||||
[1]: http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html#Expansion-of-Prompt-Sequences
|
||||
[1]: https://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html#Expansion-of-Prompt-Sequences
|
||||
[2]: https://github.com/sorin-ionescu/prezto/issues
|
||||
|
Reference in New Issue
Block a user