Created
May 27, 2013 09:21
-
-
Save floodkoff/5656061 to your computer and use it in GitHub Desktop.
I love Sublime Text and try to use it everyday everywhere. But is tricky to run it correctly under cygwin, because of it's paths. I use this shell script to run Sublime Text correctly from cygwin console. I usualy put this file in my HOME directory and run git config --global core.editor "~/sublime_cygwin.sh" to use it as git default text editor…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
"/cygdrive/d/programs/Sublime Text 2.0.1 x64/sublime_text.exe" -w -n "$(cygpath -w "$*")" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment