{"action":"opened","issue":{"url":"https://api.github.com/repos/lzybkr/PSReadLine/issues/260","labels_url":"https://api.github.com/repos/lzybkr/PSReadLine/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/lzybkr/PSReadLine/issues/260/comments","events_url":"https://api.github.com/repos/lzybkr/PSReadLine/issues/260/events","html_url":"https://github.com/lzybkr/PSReadLine/issues/260","id":92466389,"number":260,"title":"Tab completion fails in some cases; Cursor drops back to parent folder.","user":{"login":"bgshacklett","id":583359,"avatar_url":"https://avatars.githubusercontent.com/u/583359?v=3","gravatar_id":"","url":"https://api.github.com/users/bgshacklett","html_url":"https://github.com/bgshacklett","followers_url":"https://api.github.com/users/bgshacklett/followers","following_url":"https://api.github.com/users/bgshacklett/following{/other_user}","gists_url":"https://api.github.com/users/bgshacklett/gists{/gist_id}","starred_url":"https://api.github.com/users/bgshacklett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgshacklett/subscriptions","organizations_url":"https://api.github.com/users/bgshacklett/orgs","repos_url":"https://api.github.com/users/bgshacklett/repos","events_url":"https://api.github.com/users/bgshacklett/events{/privacy}","received_events_url":"https://api.github.com/users/bgshacklett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-01T19:27:57Z","updated_at":"2015-07-01T19:27:57Z","closed_at":null,"body":"I have a test case where I can reproduce the issue. Unfortunately, It happens to be a directory full of code that I don't, yet, have rights to release. I have not been able to isolate the exact scenario that causes the issue, thus I have not been able to reproduce this issue in a controlled circumstance.\r\n\r\nThe parent path of the folder that I'm currently experiencing problems with resides under `C:\\Program Files\\WindowsPowerShell\\Modules\\`. \r\n\r\nSteps to reproduce (as well as I can isolate them):\r\n1. Enter the name of a command; vim, for instance.\r\n3. Enter ` 'Path\\To\\The Broken\\Folder\\` (mind the single quote before Path). In my case, this results in `vim '\\Program Files\\`\r\n4. Enter an ambiguous beginning of a file name in the folder; e.g.: `F` for a folder containing `FooBar`, `FooBaz`, `FooFighters`, etc.\r\n5. Press the Tab key\r\n\r\nExpected behavior:\r\nThe resultant command line should read:\r\n`> vim  'Path\\To\\The Broken\\Folder\\Foo`\r\n\r\nActual behavior:\r\nThe resultant command line reads:\r\n`> vim  'Path\\To\\The Broken\\Folder\\`\r\n\r\n"}}