1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-02-22 11:00:12 +08:00
Marc Cornellà f898ada8e3 open_command: fix and improve command for WSL
- Add double quotes to command so that the next argument isn't
  interpreted as the title for the start command.

- If the first argument is a valid path, convert it to Windows path
  notation. If `wslpath` fails—because it's a path from inside WSL,
  which cannot be converted to Windows path notation— fail with an
  error code.

  This last circumstance will show an error like so:

    wslpath: path: Result not representable
2018-06-30 21:13:08 +02:00
..
2018-05-25 23:46:18 -04:00
2015-09-23 18:47:09 -04:00
2016-08-07 19:36:44 +02:00
2015-12-14 13:05:51 +02:00