• 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
..
bzr.zsh Loading commit data...
clipboard.zsh Loading commit data...
compfix.zsh Loading commit data...
completion.zsh Loading commit data...
correction.zsh Loading commit data...
diagnostics.zsh Loading commit data...
directories.zsh Loading commit data...
functions.zsh Loading commit data...
git.zsh Loading commit data...
grep.zsh Loading commit data...
history.zsh Loading commit data...
key-bindings.zsh Loading commit data...
misc.zsh Loading commit data...
nvm.zsh Loading commit data...
prompt_info_functions.zsh Loading commit data...
spectrum.zsh Loading commit data...
termsupport.zsh Loading commit data...
theme-and-appearance.zsh Loading commit data...