Hyper: Change the tab title in hyper 2.0.0

Created on 20 Apr 2018  路  9Comments  路  Source: vercel/hyper

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.

Question

Most helpful comment

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

All 9 comments

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

@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.

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

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

I need this too.

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

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?

Same here with 3.0.2 on OSX 10.14.5

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/)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rauchg picture rauchg  路  3Comments

cilice picture cilice  路  3Comments

cooperpellaton picture cooperpellaton  路  3Comments

eoinmurray picture eoinmurray  路  3Comments

weabot picture weabot  路  3Comments