Skip to content

Instantly share code, notes, and snippets.

@csim
Created April 9, 2014 15:59
Show Gist options
  • Save csim/10286154 to your computer and use it in GitHub Desktop.
Save csim/10286154 to your computer and use it in GitHub Desktop.
Edit Powershell Function
function Edit {
$SublimePath = "{your path}\sublime_text.exe"
if ($args.length -eq 0) {
& $SublimePath $pwd
} else {
& $SublimePath $args
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment