raven-rhel7/vim/vim-default-editor.sh
2024-02-21 18:48:26 +06: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