1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prezto/modules/terminal
Caleb Epstein 02f7bfe7f2
Added user-controllable prefix for window and tab titles.
12 years ago
..
README.md Added user-controllable prefix for window and tab titles. 12 years ago
init.zsh Added user-controllable prefix for window and tab titles. 12 years ago

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.