Feature Request: Add '#' to lines in elevated shell process? (to mimic Linux)
e-t-l opened this issue · 2 comments
Description
I have no idea if this is even possible, but could an octothorpe symbol #
be prepended each line in the elevated shell process created by gsudo? In addition to being a nice aesthetic similarity to the Linux shell, its presence would also be a visible reminder to the user that they are working in an elevated process.
Proposed technical details
Just like how a sudo-elevated Linux shell line starts with username@hostname:~/directory:#
, gsudo in Windows CMD would look like
`C:\Users\Username\directory>#
Ideally, the octothorpe would be nonfunctional (i.e. the shell/interpreter completely ignores it) and not able to be deleted or removed without exiting the elevated process.
All things considered, I recognize this is probably a low-priority enhancement, and a potentially difficult one to execute. Just wanted to run the idea by you!
Ah, so it does. I think I got this repo confused with https://github.com/janhebnes/chocolatey-packages/blob/master/Sudo/Readme.md. Sorry to waste your time!