Skip to content

Instantly share code, notes, and snippets.

@nickcernis
Created September 20, 2018 10:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickcernis/2546f029fd92b23f75ddb5b9e3cf9aec to your computer and use it in GitHub Desktop.
Save nickcernis/2546f029fd92b23f75ddb5b9e3cf9aec to your computer and use it in GitHub Desktop.
Create command line shortcut for Sublime Merge (Mac)
ln -s "/Applications/Sublime Merge.app/Contents/SharedSupport/bin/smerge" /usr/local/bin/smerge
@nickcernis
Copy link
Author

nickcernis commented Sep 20, 2018

An alternative:

Add /Applications/Sublime Merge.app/Contents/SharedSupport/bin to $PATH.

In ~/.config/fish/config.fish:

set -g fish_user_paths "/Applications/Sublime Merge.app/Contents/SharedSupport/bin" $fish_user_paths

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