We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fa0a88 commit d7f833dCopy full SHA for d7f833d
PSUtil/changelog.md
@@ -1,5 +1,9 @@
1
# Changelog
2
3
+## ???
4
+
5
+- Upd: Prompt Fred - added nested prompt level if greater than 0
6
7
## 2.2.35 (2021-10-13)
8
9
- New: Object Conversion - NT <--> SID
PSUtil/internal/prompts/fred.prompt.ps1
@@ -9,6 +9,9 @@
}
10
11
catch { }
12
+ if ($NestedPromptLevel -gt 0) {
13
+ Write-PSFHostColor -String "[<c='sub'>$NestedPromptLevel</c>] " -NoNewLine -DefaultColor DarkGreen
14
+ }
15
$segments = $executionContext.SessionState.Path.CurrentLocation.Path -split "\\"
16
if ($segments.Count -lt 4) { Write-Host "$($executionContext.SessionState.Path.CurrentLocation.Path)" -NoNewline }
17
else { Write-Host "($($segments.Count - 2)) ..\$($segments[-2])\$($segments[-1])" -NoNewline }
0 commit comments