[Fix #119] Add documentation for terminal
This commit is contained in:
parent
117c2323bc
commit
71b98ad515
25
modules/terminal/README.md
Normal file
25
modules/terminal/README.md
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
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 *zshrc*:
|
||||||
|
|
||||||
|
zstyle ':omz:module:terminal' auto-title 'yes'
|
||||||
|
|
||||||
|
Authors
|
||||||
|
-------
|
||||||
|
|
||||||
|
*The authors of this module should be contacted via the [issue tracker][1].*
|
||||||
|
|
||||||
|
- [James Cox](https://github.com/imajes)
|
||||||
|
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
||||||
|
|
||||||
|
[1]: https://github.com/sorin-ionescu/oh-my-zsh/issues
|
||||||
|
|
@ -5,12 +5,6 @@
|
|||||||
# James Cox <james@imaj.es>
|
# James Cox <james@imaj.es>
|
||||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||||
#
|
#
|
||||||
# Usage:
|
|
||||||
# To auto set the terminal window and tab titles with the current command or
|
|
||||||
# directory, add the following to zshrc:
|
|
||||||
#
|
|
||||||
# zstyle ':omz:module:terminal' auto-title 'yes'
|
|
||||||
#
|
|
||||||
|
|
||||||
# Dumb terminals lack support.
|
# Dumb terminals lack support.
|
||||||
if [[ "$TERM" == 'dumb' ]]; then
|
if [[ "$TERM" == 'dumb' ]]; then
|
||||||
|
Reference in New Issue
Block a user