PSSudo
Fork from https://github.com/ecsousa/PSSudo
Modifications:
(not possible)-cur_console
forsudo <arguments>
so that elevated PowerShell in ConEmu runs in the same window/tab/console- When checking for Aliases, use
Ignore
as the-ErrorAction
so that errors are not detected inoh-my-posh
templates - Added
f--k
, allowing forsudo !!
fuctionality - executing the last command in elevated mode. - Added
Invoke-ElevatedCommand
for executing an inline script block (that is, it can be executed within a pipeline).