Closed anirudhb closed 7 years ago
How could you run a command inside the current shell and get the output? This would help to find the icon.
I can't reproduce this on Hyper.app@0.8.3
and hyper-tab-icons@1.1.2
. There's no good way to know what the current running process is inside of another shell. This applies to things like the following:
tmux
ssh
sh
, bash
, fish
, or zsh
.Change the title with a plugin like hyperterm-title
to a different title than the currently running process, then try.
I use hyperterm-title
too. Make sure that hyperterm-tab-icons
is after hyperterm-title
like the following:
module.exports = {
config: { ... },
plugins: [
'hyperterm-title', // Shows title suggested by shell, this runs first
'hyper-tab-icons', // Show icon for current process, this runs second and gets the result of `hyperterm-title`
],
};
Still doesn't work (with custom title)
Even vice-versa.
This merge breaks hyperterm-title
: https://github.com/zeit/hyper/pull/892
Essentially Hyper.app@0.8.4
will make hyperterm-title
unneeded since the functionality will be built in 👍
So to fix this issue, if you are using Hyper.app@HEAD
instead of the official 0.8.3
release please do not use hyperterm-title
.
I'm not using Hyper.app@HEAD
, I'm using 0.8.3
I am confused. Your "how to reproduce" in the initial issue says you are:
How to reproduce
- Download a plugin like hyperterm-title or use the git-HEAD version of Hyper.app
If you are actually using hyperterm-title
and Hyper.app@0.8.3
(the official release version downloaded from here), I cannot reproduce the issue.
Is there any other information you could provide me?
hyper-tab-icons@1.1.1
work still?~/.hyper_plugins/node_modules
and re-installing the dependencies again help?Starting from dock, macOS sierra, plugins list:
hyperterm-snazzy
hyperterm-blink
hyperterm-title
hyperlinks
hyperterm-cursor
htyt
hyper-tab-icons
It was downloaded from hyper.is
Just to clarify: the icon is showing up but it is not updating to the correct icon
0.8.3.873
Using all of the same plugins, on macOS Sierra, using Hyper.app@0.8.3.373
, launching from the toolbar. I still cannot reproduce this; all of the correct icons show up.
Make sure the process name is not in the title.
Some code: PROMPT_COMMAND='echo -ne "\033]0;blah\007"'
With say, PS1="$ "
And no DEBUG trap
Ah, setting the title to an arbitrary string will break this plugin. This plugin is a presentational component only. See the "How it Works" section in the README. All it does is look at the title provided by Hyper.app and shows an icon it thinks best matches it using fuzzy filtering.
Same problem for me. Icon simply does not change. For purity, I'm use only this plugin.
Hyper 1.0.0
hyper-tab-icons 1.1.2
Linux Ubuntu 16.04
Using zsh
by default.
@Arttse, this is a slightly different issue. I've opened another issue for the problem you are seeing here: https://github.com/dfrankland/hyper-tab-icons/issues/17
Good catch btw!
@dfrankland thanks for quick response! I thought that the problem is in the icon change, so I wrote here. It is not clear how it should look on Linux. Well, thanks again, I'll be waiting for improvements :+1:
This should be fixed with hyper-tab-icons@1.1.3
now. See here: https://github.com/dfrankland/hyper-tab-icons#configtabiconsprocessnameregex
Hyper 0.8.3
hyper-tab-icons 1.1.2
How to reproduce
hyperterm-title
or use thegit-HEAD
version ofHyper.app
When I start Python, or Node.js, or Ruby, the icon seems to stay as a shell.
Could this have something to do with me having a different title than the process name? If so, could there be a way to fix it?