vim/SOURCES/vim-default-editor.sh
2021-12-09 15:43:09 +00:00

6 lines
117 B
Bash

# Ensure vim is set as EDITOR if it isn't already set
if [ -z "$EDITOR" ]; then
export EDITOR="/usr/bin/vim"
fi