-
Notifications
You must be signed in to change notification settings - Fork 2k
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
init.bat always uses "npm" as window title #933
Comments
I'm having the same problem and it's driving me a bit crazy. This line in init.bat is the culprit:
Then clink goes and makes a few npm-related calls:
I've tried to override the title with I'm using version 1.2.9. |
Good catch @jorgeesquer, I can repro just by running Clink using that same command. I cross-posted in the Clink repo in case it's a Clink issue: mridgers/clink#397 |
@Daniel15, you probably can fix it by either switching to 1.3.0-pre at https://github.com/cmderdev/cmder/releases/tag/v1.3.0-pre or getting a latest version of clink-completions and unzipping it to your |
Thanks @vladimir-kotikov! Switching to clink-completions 0.2.2 fixes this issue :) |
In ConEmu settings → Main → Tab bar, I set the console tab template to
%s
. This uses the tab's title on the tab bar, rather than the process name (%n
, which I believe is the default for cmder).With this configuration, a regular
cmd.exe
tab will displaycmd
by default, andcmd - command
when executing a command. However, theinit.bat
file provided with cmder results in the title always being set tonpm
. You can replicate this outside of ConEmu too, by opening cmd.exe and running:(replacing
c:\apps\cmder\
with the right path)Strangely I don't see
npm
mentioned anywhere ininit.bat
, so I can't work out where it's coming from.The text was updated successfully, but these errors were encountered: