Currently I am trying to make it so I can open up files from PowerShell directly in Sublime Text 3.
I am using this command: Set-Alias subl 'C:\Program Files\Sublime Text 2\sublime_text.exe'
This works for me initially when I type in "subl filename", but whenever I close out of PowerShell and try it again, it will not work unless I re-type the Set-Alias
command. Is there any way to permanently make this possible, so I can always type in subl filename
?