mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
configdefault missed in refactoring
This commit is contained in:
committed by
Andrew Schwartzmeyer
parent
42c0b9a5f7
commit
f46aa8d195
@@ -180,7 +180,7 @@ namespace Microsoft.PowerShell
|
||||
else
|
||||
{
|
||||
//PSReadline does not have access to Utils.CorePSPlatform. Must set PSReadline path seperately
|
||||
string historypath = System.Environment.GetEnvironmentVariable("XDG_CACHE_HOME");
|
||||
string historypath = System.Environment.GetEnvironmentVariable("XDG_DATA_HOME");
|
||||
|
||||
if (!String.IsNullOrEmpty(historypath))
|
||||
{
|
||||
@@ -195,7 +195,8 @@ namespace Microsoft.PowerShell
|
||||
Environment.GetEnvironmentVariable("HOME"),
|
||||
".local",
|
||||
"share",
|
||||
"powershell",
|
||||
"powershell",
|
||||
"PSReadLine",
|
||||
hostName + "_history.txt");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user