Skip to content

Instantly share code, notes, and snippets.

@jarfil
Created January 1, 2015 09:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jarfil/144fee3b2f53607583db to your computer and use it in GitHub Desktop.
Save jarfil/144fee3b2f53607583db to your computer and use it in GitHub Desktop.
Cygwin aliases
### CYGWIN
# Sublime Text 3
# https://cygwin.com/cygwin-ug-net/using-effectively.html
# https://scotch.io/tutorials/open-sublime-text-from-the-command-line-using-subl-exe-windows
# https://stackoverflow.com/questions/7131670/make-bash-alias-that-takes-parameter
sublimetext() {
"C:/Program Files/Sublime Text 3/subl.exe" "$(cygpath -pw "$1")" $*
}
alias vis='sublimetext'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment