Created
July 9, 2014 09:13
-
-
Save ssaunier/a15cbbbc1c2db0865998 to your computer and use it in GitHub Desktop.
Set sublime as the git editor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
subl_path=`alias subl | grep -o '\(/[a-zA-Z0-9. ]\+\)\+'` | |
git config --global core.editor "'$subl_path' -n -w" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Merci Simon pour le script! lewagon/dotfiles@6d8c56a