-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Tab completion under /mnt/c stymied by hiberfil.sys #7648
Copy link
Copy link
Closed
Labels
OS-LinuxResolution-FixedThe issue is fixed.The issue is fixed.WG-Interactive-IntelliSensetab completiontab completion
Description
Steps to reproduce
Running Ubuntu 16.04.4 LTS (via WSL):
$error.Clear()
Import-Module /mnt/c/[tab][tab][tab][tab][tab][tab][tab]
#then clear the command line and run
$errorExpected behavior
No problems, you just get tab completion for stuff under your C drive.
Actual behavior
You don't get any tab completion. For as many times as you hit [tab], you have an error like this in $error:
Exception calling "CompleteInput" with "3" argument(s): "Access to the path '/mnt/c/hiberfil.sys' is denied."
At line:38 char:16
+ ... return [System.Management.Automation.CommandCompletion]::Complet ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : UnauthorizedAccessException
Environment data
> $PSVersionTable
Name Value
---- -----
PSVersion 6.1.0-rc.1
PSEdition Core
GitCommitId 6.1.0-rc.1
OS Linux 4.4.0-17738-Microsoft #1000-Microsoft Fri Aug 10 17:06:00 PST 2018
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
OS-LinuxResolution-FixedThe issue is fixed.The issue is fixed.WG-Interactive-IntelliSensetab completiontab completion