Open dk0r opened 8 years ago
I am able to recreate this issue and will be looking into it soon (hopefully tomorrow). Thank you for the bug report! And for the details/image, it's extremely helpful :smile:
I was running into the same issue with a different setup, perhaps it helps to track down the error. My workstation is windows with an installation of msys2 and mingw64 in it, since I needed the PATH variable from msys to start atom because of atom/atom#12608. The output of $PATH in mingw64 shell is
└─> $ echo $PATH
/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/user/.gem/ruby/2.3.0/bin:/c/Progra\ Files/7-Zip/
The error message caught inside atom after the same procedure described by @dk0r is
/C:/Users/user/AppData/Local/Temp/atom/.atom/packages/quantum-shell/lib/quantum-shell-controller.coffee:393
In my setup c is mounted on /c/...
and not /C:/
so the different handling of paths in linux and windows is probably causing the issue since the regex expression has to be different.
[Description:] Error incurred when attempting to change directories using tab completion (tab key).
[Screenshot:] http://i.imgur.com/yfuQ86l.png
[Enter steps to reproduce below:]
Atom Version: 1.3.2 System: Microsoft Windows 10 Enterprise Thrown From: quantum-shell package, v0.7.1
Stack Trace
Uncaught SyntaxError: Invalid regular expression: /\/: \ at end of pattern
Commands
Config
Installed Packages