add bash-it
This commit is contained in:
9
dot_bash_it/plugins/available/textmate.plugin.bash
Normal file
9
dot_bash_it/plugins/available/textmate.plugin.bash
Normal file
@@ -0,0 +1,9 @@
|
||||
# shellcheck shell=bash
|
||||
cite about-plugin
|
||||
about-plugin 'set textmate as a default editor'
|
||||
|
||||
if _command_exists mate; then
|
||||
EDITOR="$(type -p mate) -w"
|
||||
GIT_EDITOR="$EDITOR"
|
||||
export EDITOR GIT_EDITOR
|
||||
fi
|
||||
Reference in New Issue
Block a user