/wsl_tools

Tools for Windows Subsystem Linux (WSL)

Primary LanguageGoMIT LicenseMIT

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