项目作者: mike-seagull

项目描述 :
Tools for Windows Subsystem Linux (WSL)
高级语言: Go
项目地址: git://github.com/mike-seagull/wsl_tools.git
创建时间: 2018-12-30T20:11:30Z
项目社区:https://github.com/mike-seagull/wsl_tools

开源协议:MIT License

下载


Tools for Windows Subsystem Linux (WSL)

Environment Variables

  • UNIX_C = windows drive from wsl (eg. /mnt/c)
  • UNIX_HOME = home in wsl (eg. ~ or $HOME)
  • WINDOWS_C = primary windows drive in windows (eg. C:\)
  • WINDOWS_HOME = home in windows (eg. ${WINDOWS_C}/Users/ThisGuyNeedsABeer)
  • SUBLIME_TEXT_UNIX = sublime text executable from wsl (eg. ${UNIX_C}/Program\ Files/Sublime\ Text\ 3/subl.exe)

    sublime_text


    To open sublime text to the directory or file

    sublime_text $FILE_OR_DIRECTORY

    open


    opens file explorer to the directory or file


    open $FILE_OR_DIRECTORY