9 lines
133 B
Bash
9 lines
133 B
Bash
|
EDITOR=vi
|
||
|
if which nvim > /dev/null 2>&1 ; then
|
||
|
EDITOR=nvim;
|
||
|
elif which vim > /dev/null 2>&1 ; then
|
||
|
EDITOR=vim
|
||
|
fi
|
||
|
export EDITOR
|
||
|
|