• Marc Cornellà's avatar
    open_command: fix and improve command for WSL · f898ada8
    Marc Cornellà authored
    - 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
    f898ada8
Name
Last commit
Last update
cache Loading commit data...
custom Loading commit data...
lib Loading commit data...
log Loading commit data...
plugins Loading commit data...
templates Loading commit data...
themes Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE.txt Loading commit data...
README.md Loading commit data...
oh-my-zsh.sh Loading commit data...