Skip to content

Instantly share code, notes, and snippets.

@vanderlin
Last active March 21, 2023 07:49
Show Gist options
  • Save vanderlin/ae02bf5ee6a43c5531d9 to your computer and use it in GitHub Desktop.
Save vanderlin/ae02bf5ee6a43c5531d9 to your computer and use it in GitHub Desktop.
Create a Sublime Text 3 symbolic link to open a file via command line. paste this into terminal and now you can run `subl .` to open the directory in sublime or `subl file.html`
ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
@jackson-sandland
Copy link

ty!

@SokChin83
Copy link

works perfectly. tq

@joerzepiejewski
Copy link

Thanks! 👍

@BeZen13
Copy link

BeZen13 commented Jul 27, 2021

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment