Andrew Pennebaker
2017-07-07 21:05:56 UTC
MSYS appears to lack many entries in its $PATH, compared to my Windows user
%PATH%.
MSYS:
$ echo "$PATH"
/usr/local/bin:/usr/bin:/bin:/opt/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
Files\ConEmu\ConEmu;C:\Program Files (x86)\Razer Chroma SDK\bin;C:\Program
Files\Razer Chroma SDK\bin;C:\Program
Files\Docker\Docker\Resources\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\ProgramData\chocolatey\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
Files (x86)\Windows Kits\8.1\Windows Performance
Toolkit\;C:\Go\bin;C:\Users\a_pen\go\bin;C:\Ruby24-x64\bin;C:\Users\a_pen\.cargo\bin;C:\Users\a_pen\AppData\Local\Microsoft\WindowsApps;C:\Users\a_pen\AppData\Local\atom\bin;C:\Program
Files
(x86)\GnuWin\file-5.03-bin\bin;C:\Users\a_pen\AppData\Local\Programs\Python\Python36-32;C:\Users\a_pen\AppData\Local\Programs\Python\Python36-32\Scripts;C:\Program
Files\Git\cmd;C:\Program Files\Git\bin
MSYS bash configuration:
https://github.com/mcandre/dotfiles/blob/06abd486b51c7b4ae56bd530a0afa6f4257401be/.bash_profile
https://github.com/mcandre/dotfiles/blob/06abd486b51c7b4ae56bd530a0afa6f4257401be/.bashrc
Any ideas for correcting MSYS PATH to include the full Windows user PATH?
Other shells feature the correct full PATH, including cmd, PowerShell, Git
bash, and bash on Ubuntu on Windows.
%PATH%.
MSYS:
$ echo "$PATH"
/usr/local/bin:/usr/bin:/bin:/opt/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
echo %PATH%
C:\Program Files\ConEmu\ConEmu\Scripts;C:\Program Files\ConEmu;C:\ProgramFiles\ConEmu\ConEmu;C:\Program Files (x86)\Razer Chroma SDK\bin;C:\Program
Files\Razer Chroma SDK\bin;C:\Program
Files\Docker\Docker\Resources\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\ProgramData\chocolatey\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
Files (x86)\Windows Kits\8.1\Windows Performance
Toolkit\;C:\Go\bin;C:\Users\a_pen\go\bin;C:\Ruby24-x64\bin;C:\Users\a_pen\.cargo\bin;C:\Users\a_pen\AppData\Local\Microsoft\WindowsApps;C:\Users\a_pen\AppData\Local\atom\bin;C:\Program
Files
(x86)\GnuWin\file-5.03-bin\bin;C:\Users\a_pen\AppData\Local\Programs\Python\Python36-32;C:\Users\a_pen\AppData\Local\Programs\Python\Python36-32\Scripts;C:\Program
Files\Git\cmd;C:\Program Files\Git\bin
MSYS bash configuration:
https://github.com/mcandre/dotfiles/blob/06abd486b51c7b4ae56bd530a0afa6f4257401be/.bash_profile
https://github.com/mcandre/dotfiles/blob/06abd486b51c7b4ae56bd530a0afa6f4257401be/.bashrc
Any ideas for correcting MSYS PATH to include the full Windows user PATH?
Other shells feature the correct full PATH, including cmd, PowerShell, Git
bash, and bash on Ubuntu on Windows.
--
Cheers,
Andrew
Cheers,
Andrew