-
-
Notifications
You must be signed in to change notification settings - Fork 573
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
Missing PATH entries in MSYS2 #1185
Comments
It has nothing to fix with ConEmu. You may easily check that using ProcessExplorer to examine Report to MSYS. Try to use |
open
or you can add params |
Like @Rabbit52 said, Bash::Msys2-64(This is one of the preinstalled tasks, unmodified)
Bash::mingw64
With this setup, I keep the default limited PATH for the msys shell while I use the full path for the mingw64 shell. Here is some great info on the two shells and how PATH is treated. |
When an MSYS2 shell is launched with conemu, the resulting shell has some Windows entries in PATH, but is missing most of them.
By contrast, the full Windows user PATH in a Command Prompt shell looks like:
Versions
ConEmu build: 170705 alpha
OS version: Windows 10 Pro x64
Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): MSYS2
Problem description
MSYS2 cannot find most Windows binaries in %PATH%.
Steps to reproduce
git
or other binaries that appear in %PATH% in Command Prompt.Actual results
MSYS's
$PATH
is substantially limited compared to the full Windows%PATH%
.Expected results
MSYS includes all Windows entries in its
$PATH
.Could this be an issue with the conemu command syntax configured for MSYS shells, or might this be an issue with MSYS itself?
MSYS bash configuration:
https://github.com/mcandre/dotfiles/blob/06abd486b51c7b4ae56bd530a0afa6f4257401be/.bash_profile
https://github.com/mcandre/dotfiles/blob/06abd486b51c7b4ae56bd530a0afa6f4257401be/.bashrc
The text was updated successfully, but these errors were encountered: