New
gsudo v2.5.0
What's Changed
With the release of Microsoft Sudo in Windows 11 24H2, both needs to coexist peacefully. When Microsoft Sudo is present, the sudo command no longer redirects to gsudo by default, so:
- Added a new config setting
PathPrecedence: When set totrue, it will ensuregsudoappears first in thePATHvariable, ensuring thesudokeyword startsgsudoinstead of Microsoft Sudo.- Call
gsudo config PathPrecedence trueto activate. Please restart all your consoles to ensure the change makes effect.- There is a bug, so this change works only after log-off or restart. Sorry! Will be fixed in v2.5.1
- Set it back to
falseto go back to normal.
- Call
If a user with ms-sudo muscle memory, accidentally runs gsudo, let's ensure gets a good user experience with:
- Added support for ms-sudo styled arguments such as
--inline,--disable-input, ,