Merge pull request #526 from nwinkler/textmate-check
Added check for presence of textmate executablepull/527/head
commit
00a620ce65
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue