Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Dead-easy titles for OSX's Terminal.app windows/tabs
CoffeeScript Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
.gitignore
NOTES
README.md
VERSION
package.coffee
package.json
tag.coffee

README.md

  __                    
_/  |_ _____      ____  
\   __\\__  \    / ___\ 
 |  |   / __ \_ / /_/  >
 |__|  (____  / \___  / 
            \/ /_____/  

Dead-easy titles for OSX's Terminal.app windows/tabs

Motivation

There's no easy way to 'rename' Terminal.app windows/tabs on OSX.

The current solution is ...

echo -n -e "\033]0;facebook_killer\007"

.. but that is all kinds of filthy; not to mention hard to remember.

tag provides a convenient way to rename Terminal.app windows/tabs.

Installation

npm -g install tag

Usage

$ tag [TITLE=CWD]

tag sets the title to the current directory

tag TITLE sets title to TITLE

Example

The usual, unhelpful Terminal.app with its default "Terminal" title ...

before

Default title

tag

# title is now "facebook_killer"

after default

Custom title

tag "Facebook Killer"

# title is now "Facebook Killer"

after custom

fin.

Something went wrong with that request. Please try again.