vim-default-editor.fish - dont give EDITOR universal scope

This commit is contained in:
Zdenek Dohnal 2020-10-15 13:29:42 +02:00
parent d44733b481
commit cbc7da83e9
2 changed files with 4 additions and 1 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/vim
set -x EDITOR /usr/bin/vim
end

View File

@ -813,6 +813,9 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags
%config(noreplace) %{_datadir}/fish/vendor_conf.d/vim-default-editor.fish
%changelog
* Thu Oct 15 2020 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.2.1815-2
- vim-default-editor.fish - dont give EDITOR universal scope
* Mon Oct 12 2020 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.2.1815-2
- fix installing fish profile, set virtual provide for default editor
(thanks Neal Gompa and Kamil Dudka)