Skip to content

Instantly share code, notes, and snippets.

View Kamik423's full-sized avatar

Hans Schülein Kamik423

View GitHub Profile
@Kamik423
Kamik423 / subl
Created August 30, 2023 19:26
Open Sublime Text From Windows Subsystem for Linux Version 2
#!/usr/bin/env python3
# Place in /usr/local/bin or some other path in $PATH
# Description: see https://hans.coffee/blog/subl-on-wsl/
import subprocess
import sys
# The path to the Sublime Text Windows executable in the Linxu file-system.
SUBL = "/mnt/c/Program Files/Sublime Text/subl.exe"