add export EDITOR=vim to bashrc-shared