nano/nano-default-editor.sh

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