Skip to content

Instantly share code, notes, and snippets.

@joshfriend
Created March 28, 2014 15:45
Show Gist options
  • Save joshfriend/9835856 to your computer and use it in GitHub Desktop.
Save joshfriend/9835856 to your computer and use it in GitHub Desktop.
Shell wrapper for Sublime Text 3 in Cygwin
#!/bin/bash
for f in $@
do
# Wrap file paths with `cygpath` to allow POSIX pathnames
/cygdrive/c/Program\ Files/Sublime\ Text\ 3/sublime_text.exe `cygpath -w $f` &
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment