Skip to content

Commit caec304

Browse files
committed
feat: add new Get-HistPath function
Utilizes Get-PSReadLineOption's HistorySavePath
1 parent 3cc5c5e commit caec304

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Profile/functions.ps1

+1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ ${function:Edit-ProfileDirectory} = {
141141
code-insiders $prodir
142142
}
143143

144+
${function:Get-HistPath} = { (Get-PSReadlineoption).HistorySavePath }
144145

145146
# ----------
146147
# Secrets

0 commit comments

Comments
 (0)