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

Changing default shell and the "Create new ‘cmd.exe’ console" hotkey #880

Closed
gene-pavlovsky opened this Issue Oct 2, 2016 · 2 comments

Comments

Projects
2 participants
@gene-pavlovsky

gene-pavlovsky commented Oct 2, 2016

There is a default shortcut Win+X titled Create new ‘cmd.exe’ console.
I mostly use Cygwin bash, so I ticked "default shell" in my bash task (also added [[ $ConEmuWorkDir ]] && cd "$ConEmuWorkDir" to my .bashrc).
However, in the keyboard shortcuts, this shortcut is still listed as Create new ‘cmd.exe’ console, which is misleading. I think the shortcut description should auto-update to reflect the current default shell.

I have an additional question. When I'm navigating to some directory in Far Manager, and press this shortcut, bash opens in Far's working directory (great!). However if I use any of the other tasks (even the same bash task, if I launch it via another Macro hotkey), it starts in my Windows user profile directory (that is the value of ConEmuWorkDir). Since there's only one Create new 'cmd.exe' console, I can only choose one shell to start in Far's actual work dir. Forgive my ignorance, surely there is a way to bind a hotkey to launching any of the tasks in the current task's work dir? Appreciate it.

@Maximus5 Maximus5 added the settings label Apr 17, 2018

@Maximus5 Maximus5 added this to To Do in ConEmu via automation Apr 17, 2018

@Maximus5

This comment has been minimized.

Owner

Maximus5 commented Apr 17, 2018

However if I use any of the other tasks (even the same bash task, if I launch it via another Macro hotkey), it starts in my Windows user profile directory (that is the value of ConEmuWorkDir)

https://conemu.github.io/en/ShellWorkDir.html

@Maximus5 Maximus5 moved this from To Do to Ready for Testing in ConEmu Apr 18, 2018

@gene-pavlovsky

This comment has been minimized.

gene-pavlovsky commented Jun 17, 2018

Both topics of this issue work well now.
Thank you :)

ConEmu automation moved this from Ready for Testing to Done Jun 17, 2018

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