mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Change default history file location
This commit is contained in:
@@ -180,7 +180,8 @@ namespace Microsoft.PowerShell
|
||||
{
|
||||
HistorySavePath = System.IO.Path.Combine(
|
||||
Environment.GetEnvironmentVariable("HOME"),
|
||||
".psreadline",
|
||||
".powershell",
|
||||
"PSReadLine",
|
||||
hostName + "_history.txt");
|
||||
}
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user