Tools for Windows Subsystem Linux (WSL)
- 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 $FILE_OR_DIRECTORY
opens file explorer to the directory or file
open $FILE_OR_DIRECTORY