tkellogg / Jump-Location

Powershell `cd` that reads your mind
MIT License
469 stars 26 forks source link

Brackets '(' ')' doesn't escapes correctly after tab complition #7

Closed vors closed 11 years ago

vors commented 11 years ago

Repro:

  1. Go to C:\Program Files (x86)
  2. Type j x86+' it should replace string to 'j "C:\Program Files (x86)" '.
  3. Hit Enter. Expected: cd to program files (x86) Actual: j : The term 'x86' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Supossed solution: Escape with single quotes instead of double quotes.

vors commented 11 years ago

Fix by commit 6c6e6d81c00b0213d175aa68ac073ab9b89cd383