mathiasbynens/dotfiles — pull request #252 by gregstallings (2013-09-16 04:39:13+00:00)
Title: `s` with no arguments opens the current directory in Sublime

`s` with no arguments opens the current directory in Sublime, otherwise opens the given location. I think the current `s` alias is inconsistent given that it specifically opens the current directory. But if I want to open just a given file or directory then I have to use `subl mydir`. This function handles both cases and brings consistency with all editor choices.