msys2 / msys2-installer

The one-click installer for MSYS2
BSD 3-Clause "New" or "Revised" License
561 stars 87 forks source link

shortcuts: start launcher and rename #50

Closed lazka closed 2 years ago

lazka commented 2 years ago

Instead of calling msys2_shell.cmd call the respective launchers. This unifies the way MSYS2 is started for most users and allows them to set launch variables in the launcher .ini files.

While at it also rename the shortcuts to reference the environment names instead of describing the environment. Not everyone might care or know what these mean, so just unify them with the MSYSTEM env var which is shown when starting bash right after.

Fixes #24

goyalyashpal commented 1 year ago

Instead of calling msys2_shell.cmd

One more benefit of this is that:

So, setting a default shell in effect was prohibiting effective use of it. Wow!

But using .exe elevates these launcher from this unwanted dependency on CompSpec env variable.