nano/nano-default-editor.fish
DistroBaker 08d55c714e Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/nano.git#73a88e37ea27bd01e3971a4c69c2c8fb0a68df75
2020-10-27 21:34:13 +01:00

9 lines
272 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 -x EDITOR /usr/bin/nano
end