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

Can't start cmder 1.4.1.1 #252

Closed
pihug12 opened this issue Sep 2, 2014 · 7 comments · Fixed by #253
Closed

Can't start cmder 1.4.1.1 #252

pihug12 opened this issue Sep 2, 2014 · 7 comments · Fixed by #253

Comments

@pihug12
Copy link

pihug12 commented Sep 2, 2014

I'm surprised to be the only one to have this issue. I can't start Cmder 1.4.1.1.

This box appears when I start Cmder.exe (from cmder_mini.zip) :
Cmder 1.4.1.1
("Nom de répertoire invalide" = Invalid directory name)

Cmder 1.4.1 worked. %HOME% doesn't seem to be set.

@pihug12
Copy link
Author

pihug12 commented Sep 2, 2014

Reverting this commmit (3223a03) solves the problem.
Using -new_console:d:%HOMEDRIVE%%HOMEPATH% is good too.

@narnaud : I don't know what was the initial purpose of this commit.
Maybe a 1.4.1.2 bugfix version is needed.

@MartiUK
Copy link
Member

MartiUK commented Sep 2, 2014

I've updated the release binaries for 1.4.1.1, no need to re-release. A good reminder to stick to your gut feelings.

@narnaud
Copy link
Contributor

narnaud commented Sep 2, 2014

@pihug12 the goal was to start in the home folder if HOME is defined.
%HOME% may be different from %USERPROFILE%

@MartiUK
Copy link
Member

MartiUK commented Sep 2, 2014

@narnaud If people want that then they can edit the {cmd} task within cmder.

@narnaud
Copy link
Contributor

narnaud commented Sep 2, 2014

there's actually a solution that fits both, just test it, but I guess I'll keep it in my clone

@pihug12
Copy link
Author

pihug12 commented Sep 2, 2014

@narnaud I just read your comment here : #243 (comment)
%HOME% doesn't seem to be set when I launch the Cmder binary. Maybe the init.bat is executed after the ConEmu initialization?

@narnaud
Copy link
Contributor

narnaud commented Sep 3, 2014

@pihug12 yes, that is the problem.
I thought,, wrongly, that HOME will be set by the init.bat if it does not exist, but it's not the case.
The solution is simply to remove the "-new_console:d:%USERPROFILE%" from the task, and it works as expected.
The only drawback is that the startup directory is wrong with Ctrl+T, but I don't really care.

Anyway, as I said, I'll keep it in my fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants