I am using bash-it in my Mac OSX terminal. However, lately i have been having problems related to the EDITOR
and GIT_EDITOR
variables.
In a custom bash file i set those variables clearly via:
# Make Sublime the default editor
export EDITOR="subl";
export GIT_EDITOR="subl --wait";
However, something is overwriting those variables as when i do export -p
the values assigned are:
declare -x EDITOR=" -w"
declare -x GIT_EDITOR=" -w"
I have checked the other sourced files to see if they are being overwritten by a plugin somewhere but with no luck.
Would appreciate any pointers on how to debug and fix this.
Thanks