Skip to content

Commit cdb593b

Browse files
RocketMaDevlazka
authored andcommitted
Update Sudo.md as MSYS2 may not inherit Windows PATH
1 parent e15aacb commit cdb593b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/wiki/Sudo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ In regular GNU/Linux environments, people use `sudo` to perform administrative t
1010

1111
## How to get Sudo
1212

13-
There are several `sudo` alternatives to choose from. Check the difference sheet below and pick the one you like to download. For general users, we recommand `gsudo` as it is powerful and modern. To have it installed, run `winget install gsudo` and reboot your system if you have winget. Run `echo 'alias sudo=gsudo'` if you are used to typing `sudo`. Click the links below to learn more advanced features.
13+
There are several `sudo` alternatives to choose from. Check the difference sheet below and pick the one you like to download. For general users, we recommand `gsudo` as it is powerful and modern. To have it installed, run `winget install gsudo` and reboot your system if you have winget. Run `echo 'alias sudo=gsudo' > ~/.bashrc` if you are used to typing `sudo`. If you can't invoke `gsudo` as your shell doesn't inherit Windows PATH, please append `alias sudo='"$PROGRAMFILES/gsudo/Current/gsudo.exe"'`to your bashrc. Click the links below to learn more advanced features.
1414

1515
## Difference between various Sudo
1616

0 commit comments

Comments
 (0)