parent
a375e7131e
commit
f6c5717a7a
|
|
@ -86,6 +86,7 @@ plugins/available/goenv.plugin.bash
|
||||||
plugins/available/history-search.plugin.bash
|
plugins/available/history-search.plugin.bash
|
||||||
plugins/available/history-substring-search.plugin.bash
|
plugins/available/history-substring-search.plugin.bash
|
||||||
plugins/available/history.plugin.bash
|
plugins/available/history.plugin.bash
|
||||||
|
plugins/available/textmate.plugin.bash
|
||||||
plugins/available/xterm.plugin.bash
|
plugins/available/xterm.plugin.bash
|
||||||
|
|
||||||
# tests
|
# tests
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
|
# shellcheck shell=bash
|
||||||
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
|
if _command_exists mate; then
|
||||||
export EDITOR="$(which mate) -w"
|
EDITOR="$(type -p mate) -w"
|
||||||
export GIT_EDITOR=$EDITOR
|
GIT_EDITOR="$EDITOR"
|
||||||
|
export EDITOR GIT_EDITOR
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue