Skip to content

Instantly share code, notes, and snippets.

@ssaunier
Created July 9, 2014 09:13
Show Gist options
  • Save ssaunier/a15cbbbc1c2db0865998 to your computer and use it in GitHub Desktop.
Save ssaunier/a15cbbbc1c2db0865998 to your computer and use it in GitHub Desktop.
Set sublime as the git editor
subl_path=`alias subl | grep -o '\(/[a-zA-Z0-9. ]\+\)\+'`
git config --global core.editor "'$subl_path' -n -w"
@ssaunier
Copy link
Author

ssaunier commented Jul 9, 2014

Merci Simon pour le script! lewagon/dotfiles@6d8c56a

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