never use code as default editor

Just feels weird to popup a full blown IDE every time I do a git commit.

I think auto-save acutally even breaks git commit, but didn't test it further.
master
lub 2 years ago
parent e506a58e14
commit 32eed6c325

@ -9,10 +9,7 @@ export HISTSIZE=100000
export HISTFILESIZE=100000
export PATH="$HOME/.bin:$PATH"
# define a default editor
if [ -x "$(command -v code)" ]; then
export EDITOR='code -w'
elif [ -x "$(command -v vim)" ]; then
if [ -x "$(command -v vim)" ]; then
export EDITOR=vim
elif [ -x "$(command -v vi)" ]; then
export EDITOR=vi

Loading…
Cancel
Save