Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wire up 'title' to "rename tab" #221

Closed
Yostage opened this issue Jul 11, 2014 · 4 comments
Closed

Wire up 'title' to "rename tab" #221

Yostage opened this issue Jul 11, 2014 · 4 comments

Comments

@Yostage
Copy link

Yostage commented Jul 11, 2014

With console2 I was accustomed to using the "title" command to rename my tabs after I open them so I can quickly remember which one is which. The title command doesn't appear to do anything in cmder, but you can rename tabs via the GUI. Is it possible to merge those so that changing the cmd title actually renames the tab?

@sc0tt
Copy link
Contributor

sc0tt commented Jul 11, 2014

You can run:
cmd /c RenameTab "New Tab Title Here"

To make it easier, you can make it an alias.
In your config\aliases file under the cmder root, add:
title=cmd /c RenameTab "$*"

This won't take effect until you open a new cmder window, after that you can run:
title My Tab Title

@glucas
Copy link
Contributor

glucas commented Jul 14, 2014

Ah, I had been wondering the same thing. Thanks @sc0tt !

@tleb
Copy link

tleb commented Aug 13, 2014

You can also use the alias command to add an alias:

alias title=cmd /c RenameTab "$*"
  • no need to restart Cmder
  • and sure that everything is going right (needs an empty line at the end of the aliases file, etc)

@MartiUK
Copy link
Member

MartiUK commented Aug 15, 2014

Thanks guys.

@MartiUK MartiUK closed this as completed Aug 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants