This plugin sets the tab title to
current folder (git-branch)
if you're on a git repository orcurrent folder
if you're not.
zplugin light cristovao-trevisan/title-tab
- 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
- Find where your zsh plugins are on the
.zshrc
file and addtitle-tab
to the list.
plugins=(... title-tab)
- Run
source .zshrc
.
$ source ~/.zshrc
Or if you use zsh_reload
:
$ src