Merge pull request #526 from nwinkler/textmate-check

Added check for presence of textmate executable
This commit is contained in:
Nils Winkler
2015-07-20 17:47:00 +02:00

View File

@@ -1,5 +1,7 @@
cite about-plugin cite about-plugin
about-plugin 'set textmate as a default editor' about-plugin 'set textmate as a default editor'
export EDITOR="$(which mate) -w" if $(command -v mate &> /dev/null) ; then
export GIT_EDITOR=$EDITOR export EDITOR="$(which mate) -w"
export GIT_EDITOR=$EDITOR
fi