nano/nano-default-editor.fish
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

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