fix nano-default-editor.fish - don't give EDITOR an universal scope

This commit is contained in:
Zdenek Dohnal 2020-10-15 13:04:03 +02:00 committed by Kamil Dudka
parent df5530fdd8
commit 73a88e37ea
2 changed files with 5 additions and 2 deletions

View File

@ -4,5 +4,5 @@
# Cf. https://fishshell.com/docs/current/index.html#variables-scope
if ! set -q EDITOR;
set -Ux EDITOR /usr/bin/nano
set -x EDITOR /usr/bin/nano
end

View File

@ -1,7 +1,7 @@
Summary: A small text editor
Name: nano
Version: 5.3
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv3+
URL: https://www.nano-editor.org
Source: https://www.nano-editor.org/dist/latest/%{name}-%{version}.tar.xz
@ -95,6 +95,9 @@ install -Dpm 0644 %{SOURCE13} %{buildroot}%{_datadir}/fish/vendor_conf.d/%{basen
%changelog
* Thu Oct 15 2020 Zdenek Dohnal <zdohnal@redhat.com> - 5.3-4
- fix nano-default-editor.fish - don't give EDITOR an universal scope
* Mon Oct 12 2020 Neal Gompa <ngompa13@gmail.com> - 5.3-3
- Ensure default-editor subpackage is easily swappable