I installed Sublime Text and wanted to know how to open rb files in it from the terminal. I saw What is the command to make Sublime Text my core editor? and I s
rb
I added this to my PowerShell profile:
Set-Alias subl 'C:\Program Files\Sublime Text 2\sublime_text.exe'
Modify this as needed for Sublime Text 3 (or any future versions).