6 lines
139 B
Bash
6 lines
139 B
Bash
# set EDITOR variable
|
|
if type nvim >/dev/null 2>&1; then
|
|
export EDITOR="nvim"
|
|
elif type vim >/dev/null 2>&1; then
|
|
export EDITOR="vim"
|
|
fi
|