Added check for presence of textmate executable
parent
4b66fec9da
commit
cdfe76620a
|
|
@ -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'
|
||||||
|
|
||||||
|
if $(command -v mate &> /dev/null) ; then
|
||||||
export EDITOR="$(which mate) -w"
|
export EDITOR="$(which mate) -w"
|
||||||
export GIT_EDITOR=$EDITOR
|
export GIT_EDITOR=$EDITOR
|
||||||
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue