https://github.com/romulomachado/title-tab
Customize the Title for tabs on iTerm2 when using zsh
https://github.com/romulomachado/title-tab
Last synced: 3 months ago
JSON representation
Customize the Title for tabs on iTerm2 when using zsh
- Host: GitHub
- URL: https://github.com/romulomachado/title-tab
- Owner: romulomachado
- Created: 2014-11-12T18:56:14.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-12T22:28:49.000Z (almost 11 years ago)
- Last Synced: 2025-04-12T17:12:41.833Z (6 months ago)
- Language: Shell
- Size: 113 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# title-tab for iTerm2 + oh-my-zsh
> This plugin sets the tab title to `current folder (git-branch)` if you're on a git repository or `current folder` if you're not.

## Installing
1. Clone this repository to `/path/to/.oh-my-zsh/custom/plugins` (usually it is on `~/.oh-my-zsh`)
```bash
$ git clone git@github.com:romulomachado/title-tab.git ~/.oh-my-zsh/custom/plugins
```2. Go to `iTerm > Preferences... > Appearance` and uncheck all the checkboxes from **Window & Tab Titles** section.

3. Find where your zsh plugins are on the ```.zshrc``` file and add ```title-tab``` to the list.
```bash
plugins=(... title-tab)
```4. Run ```source .zshrc```.
```bash
$ source ~/.zshrc
```Or if you use ```zsh_reload```:
```bash
$ src
```And that's it. :)