You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had two terminal tabs open and I ran pwsh from each of them (one immediately after the other). They were both loading my custom profile at the same time, including my custom prompt. Not sure if these details are relevant. One of the terminals though showed the error below though. I've been using PowerShell on Mac daily for the last 16 months and this is the first time I've seen this. Logging an issue as requested.
Environment
PSReadLine: 2.0.0
PowerShell: 7.0.0
OS: Darwin 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64
Last 0 Keys
Exception
System.IO.IOException: The system cannot open the device or file specified. : 'PSReadLineHistoryFile_1578830712'
at System.Threading.Mutex.CreateMutexCore(Boolean initiallyOwned, String name, Boolean& createdNew)
at System.Threading.Mutex..ctor(Boolean initiallyOwned, String name)
at Microsoft.PowerShell.PSConsoleReadLine.DelayedOneTimeInitialize()
at Microsoft.PowerShell.PSConsoleReadLine.Initialize(Runspace runspace, EngineIntrinsics engineIntrinsics)
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken)
The text was updated successfully, but these errors were encountered:
@ryantrem Thanks for reporting the issue. This is a duplicate of #1464. It's likely a permission issue to /private/tmp. Please take a look at #1464 (comment) to see if that fix your problem too.
I had two terminal tabs open and I ran
pwsh
from each of them (one immediately after the other). They were both loading my custom profile at the same time, including my custom prompt. Not sure if these details are relevant. One of the terminals though showed the error below though. I've been using PowerShell on Mac daily for the last 16 months and this is the first time I've seen this. Logging an issue as requested.Environment
PSReadLine: 2.0.0
PowerShell: 7.0.0
OS: Darwin 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64
Last 0 Keys
Exception
The text was updated successfully, but these errors were encountered: