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

Change the tab title in hyper 2.0.0 #2886

Closed
bvaldes opened this issue Apr 20, 2018 · 9 comments
Closed

Change the tab title in hyper 2.0.0 #2886

bvaldes opened this issue Apr 20, 2018 · 9 comments
Labels
❔ Type: Question Issue is a question relating to Hyper (please use zeit.chat or https://spectrum.chat/hyper for this)

Comments

@bvaldes
Copy link

bvaldes commented Apr 20, 2018

Hi,

I am on OSX but I plan to use Hyper on Windows too because of the new update with xterm.js

I've done a fresh install of hyper 2.0.0 and I would like to change the tab title.

The only answer I found was to Hyper 1.X with the hyperterm-title plugin. The issue is that it doesn't work at all on 2.0.0.

I saw that this plugin was merged with something that you call core but I've no idea what people talk about.

I hope that my question is not stupid. Thanks for the help.

@Stanzilla
Copy link
Collaborator

What would you like the tab title to say? Something dynamic like the current folder? Which shell are you using inside of Hyper?

@Stanzilla Stanzilla added the ❔ Type: Question Issue is a question relating to Hyper (please use zeit.chat or https://spectrum.chat/hyper for this) label Apr 23, 2018
@El-Dringo-Brannde
Copy link
Contributor

@Stanzilla @bvaldes, whoops looks like this is pretty similar to #2907 I'll look into it because I've been wanting the feature as well.

@bdinesh
Copy link

bdinesh commented Jun 6, 2018

How can we rename the tab title like we want in Hyper 2.0?

@cr101
Copy link

cr101 commented Feb 28, 2019

I'm on Windows 10 and the title for all the tabs is "Shell". Is there a way to change the tab title?

@rjurney
Copy link

rjurney commented Apr 17, 2019

I need this too.

@cdetrio
Copy link

cdetrio commented May 22, 2019

I'd like this feature (on Mac all tabs also say "Shell"), and be able to set window names too.

@ankur2002
Copy link

I upgraded to 3.0.2 and now the tab titles don't show up anymore. This seemed to be working on my mac when I was still using version 2.x but it stopped working on 3.x.

Can we restore the tab titles again?

@dincercelik
Copy link

Same here with 3.0.2 on OSX 10.14.5

@drbparsons
Copy link

I managed to find a solution that changes the tab titles on Mac to the current directory:

Assuming your default shell is zsh, add this to your ~/.zshrc file:

case $TERM in
  xterm*)
    precmd () {print -Pn "\e]0;%~\a"}
    ;;
esac

image

(via http://blog.pengyifan.com/how-to-set-terminal-title-dynamically-to-the-current-working-directory/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❔ Type: Question Issue is a question relating to Hyper (please use zeit.chat or https://spectrum.chat/hyper for this)
Projects
None yet
Development

No branches or pull requests

11 participants