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

Duplicate tab and terminate all but shell not working as expected #761

Closed
santiagoaguiar opened this issue Jul 4, 2016 · 7 comments
Closed

Comments

@santiagoaguiar
Copy link

@santiagoaguiar santiagoaguiar commented Jul 4, 2016

Versions

ConEmu build: 160619 x64
OS version: Windows 10 x64
Used shell version: git-bash

Problem description

  • Duplicate tab with current state of root process does not preserve current directory.
  • Terminate (kill) all but shell processes in the current console closes all process, including bash

I tried uninstalling and reinstalling again, and reseting my configuration to defaults. Bash::Git bash task is configured as it comes by default:

"%ConEmuDir%\..\Git\git-cmd.exe" --no-cd --command=usr/bin/bash.exe -l -i

And marked as the default task for new console and default shell. Startup is configured as starting the Bash::Git bash task.

It worked OK before updating to this version of ConEmu.

Any configuration I could be having to experience this behavior?

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Jul 4, 2016

It worked OK before updating to this version of ConEmu

From what version you have updated it?

Why do you think it's a ConEmu problem, but not a git-for-windows issue?

@santiagoaguiar
Copy link
Author

@santiagoaguiar santiagoaguiar commented Jul 4, 2016

I never considered it could be an issue with git-for-windows.

I didn't found the issue reported here, but there's one on cmderdev/cmder#886 ,and as it says, mine also works OK while using cmd, so, yes, it seems it might be an issue specific of using git-bash. And, I also updated git-bash, so I guess it's the same problem.

Regrettably, I don't know which was my previous version. I have updates enabled and usually update as soon as I'm notified of a new version.

@santiagoaguiar
Copy link
Author

@santiagoaguiar santiagoaguiar commented Jul 4, 2016

Ok, worked by changing the task to run:
"%ConEmuDir%\..\Git\usr\bin\bash.exe" -l -i

Instead of the default:
"%ConEmuDir%\..\Git\git-cmd.exe" --no-cd --command=usr/bin/bash.exe -l -i

I guess with the default ConEmu thinks git-cmd is the root process and therefore closes bash?

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Jul 4, 2016

Yes. But this has to be fixed.

@sasos90
Copy link

@sasos90 sasos90 commented Apr 28, 2017

What about duplicate tab for mintty? It does not work for me.

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Apr 28, 2017

@sasos90 ChildGui has limited functionality. RTFM.

@Maximus5 Maximus5 closed this Apr 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.