nit
This commit is contained in:
parent
0934084b60
commit
b022d39083
|
@ -39,7 +39,7 @@ A very simple first customization one can do is update the prompt. This will ind
|
||||||
```powershell
|
```powershell
|
||||||
function prompt {
|
function prompt {
|
||||||
$prompt = "> "
|
$prompt = "> "
|
||||||
If ((New-Object Security.Principal.WindowsPrincipal $(
|
if ((New-Object Security.Principal.WindowsPrincipal $(
|
||||||
[Security.Principal.WindowsIdentity]::GetCurrent()
|
[Security.Principal.WindowsIdentity]::GetCurrent()
|
||||||
)).IsInRole(
|
)).IsInRole(
|
||||||
[Security.Principal.WindowsBuiltinRole]::Administrator
|
[Security.Principal.WindowsBuiltinRole]::Administrator
|
||||||
|
|
Loading…
Reference in a new issue