4ad7e2
# Ensure GNU nano is set as EDITOR if it isn't already set
4ad7e2
# This is set as a universal variable so that any other definition
4ad7e2
# by the user would win
4ad7e2
# Cf. https://fishshell.com/docs/current/index.html#variables-scope
4ad7e2
4ad7e2
if ! set -q EDITOR;
4ad7e2
	set -x EDITOR /usr/bin/nano
4ad7e2
end