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

Split to Bottom does not set DOSKEY #1062

Open
BeastModeActivated opened this issue Mar 9, 2017 · 5 comments
Open

Split to Bottom does not set DOSKEY #1062

BeastModeActivated opened this issue Mar 9, 2017 · 5 comments

Comments

@BeastModeActivated
Copy link

ConEmu build: 170118 [64]
OS version: Windows 7 x64
Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): cmd

Problem description

Split to Bottom (Ctrl + Shift + O) doesnt set DOSKEY set in the original shell.

Steps to reproduce

  1. Open conemu2 and set any DOSKEY.
    DOSKEY list=ls
    Check this DOSKEY is working fine.
  2. Now Split this shell using (Ctrl+Shift+O) shortcut
  3. On new shell, DOSKEY list is not set. Need to set it again.

Actual results

DOSKEY is not set in split shell.

Expected results

DOSKEY should be set set in split shell.

Additional files

Settings,
screenshots,
logs,
etc.

@Maximus5
Copy link
Owner

Maximus5 commented Mar 9, 2017

I'm not sure if it should be set.
Environment variables are inherited automatically (processed by CreateProcess internally by Windows), but aliases are set in per-console basis and new console does not inherit them indeed.
Moreover, if you run Bash (cygwin, msys or even more WSL), neither variables nor aliases could be inherited. It's physically impossible.

@BeastModeActivated
Copy link
Author

Is there a fix for this ? Can we add a setting to copy aliases for cmd prompt ?
Its very annoying to set aliases on multiple shells.

@Maximus5
Copy link
Owner

Why don't to set aliases in the Environment settings page?

@BeastModeActivated
Copy link
Author

Alll aliases we use are not static. Few of them are but for rest we have different scripts which set all the env variables as well as aliases.
If we use env settings page then they all will be static.

@Maximus5
Copy link
Owner

I see

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

No branches or pull requests

2 participants