Skip to content

Instantly share code, notes, and snippets.

View geekmanager's full-sized avatar

Meri Williams geekmanager

View GitHub Profile
@geekmanager
geekmanager / make-git-use-sublime.markdown
Last active July 3, 2023 12:22
Making git use Sublime Text for rebase etc

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.

### 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: