nano/nano-default-editor.sh
Petr Šabata 875038605c RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/nano#df5530fdd8fd1dc57c78b55885579fff4d4f0792
2020-10-15 20:50:52 +02: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