vim/SOURCES/vim-default-editor.sh

6 lines
117 B
Bash
Raw Normal View History

2021-11-04 00:01:35 +00:00
# Ensure vim is set as EDITOR if it isn't already set
if [ -z "$EDITOR" ]; then
export EDITOR="/usr/bin/vim"
fi