Skip to content

romulomachado/title-tab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

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.

title tab working

Installing

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

screenshot iTerm Preferences

  1. Find where your zsh plugins are on the .zshrc file and add title-tab to the list.
plugins=(... title-tab)
  1. Run source .zshrc.
$ source ~/.zshrc

Or if you use zsh_reload:

$ src

And that's it. :)

About

Customize the Title for tabs on iTerm2 when using zsh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages