Skip to content

Instantly share code, notes, and snippets.

Avatar

Meri Williams geekmanager

View GitHub Profile
@geekmanager
geekmanager / make-git-use-sublime.markdown
Last active Nov 20, 2022
Making git use Sublime Text for rebase etc
View make-git-use-sublime.markdown

Making git use Sublime Text

First up, let's make Sublime Text 2 available from the command line in terminal, by creating a link to subl which is the launcher from terminal:

ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin/sublime

(added bonus of this approach is when you upgrade to ST3 or change text editor, you can just redirect the symlink).

If there's any chance that bash doesn't check usr/local/bin then use [Launch Sublime Text 2 from Mac OSX Terminal] for more detailed instructions on how to make this happen.

View gist:9ef177da101fc8f36b29
### Keybase proof
I hereby claim:
* I am geekmanager on github.
* I am geek_manager (https://keybase.io/geek_manager) on keybase.
* I have a public key whose fingerprint is D016 BBEB 30B8 A4CF D01C CD2A 99A2 AD17 C290 9F63
To claim this, I am signing this object: