Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

How to set title of a tab #56

Open
Florent2 opened this issue Feb 25, 2011 · 1 comment
Open

How to set title of a tab #56

Florent2 opened this issue Feb 25, 2011 · 1 comment
Labels
Milestone

Comments

@Florent2
Copy link

Hi,

I try to use terminitor with iTerm2. I could not find how to set the title of a tab. I've tried:

tab :name => "console" do
  run "rails console"
end

but without success, the new tab is titled with the default tab title "Shell".

@Florent2
Copy link
Author

Found a workaround (using bash):

tab :name => "console" do
  run "echo -e \"\\033];console\\007\""
  run "rails console"
end

From http://sites.google.com/site/iterm2home/support "How do I change a tab's title?"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant