The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/nano#df5530fdd8fd1dc57c78b55885579fff4d4f0792
9 lines
273 B
Fish
9 lines
273 B
Fish
# Ensure GNU nano is set as EDITOR if it isn't already set
|
|
# This is set as a universal variable so that any other definition
|
|
# by the user would win
|
|
# Cf. https://fishshell.com/docs/current/index.html#variables-scope
|
|
|
|
if ! set -q EDITOR;
|
|
set -Ux EDITOR /usr/bin/nano
|
|
end
|