diff --git a/plugins/available/textmate.plugin.bash b/plugins/available/textmate.plugin.bash new file mode 100644 index 00000000..ae04c80c --- /dev/null +++ b/plugins/available/textmate.plugin.bash @@ -0,0 +1,5 @@ +cite about-plugin +about-plugin 'set textmate as a default editor' + +export EDITOR="$(which mate) -w" +export GIT_EDITOR=$EDITOR diff --git a/template/bash_profile.template.bash b/template/bash_profile.template.bash index be218ee1..472201b0 100755 --- a/template/bash_profile.template.bash +++ b/template/bash_profile.template.bash @@ -16,10 +16,6 @@ export BASH_IT_THEME='bobby' # Your place for hosting Git repos. I use this for private repos. export GIT_HOSTING='git@git.domain.com' -# Set my editor and git editor -export EDITOR="/usr/bin/mate -w" -export GIT_EDITOR='/usr/bin/mate -w' - # Set the path nginx export NGINX_PATH='/opt/nginx'