nano/SOURCES/nano-default-editor.sh
2022-05-17 17:03:36 +00:00

6 lines
120 B
Bash

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