vim-default-editor.fish - dont give EDITOR universal scope
This commit is contained in:
parent
d44733b481
commit
cbc7da83e9
@ -4,5 +4,5 @@
|
|||||||
# Cf. https://fishshell.com/docs/current/index.html#variables-scope
|
# Cf. https://fishshell.com/docs/current/index.html#variables-scope
|
||||||
|
|
||||||
if ! set -q EDITOR;
|
if ! set -q EDITOR;
|
||||||
set -Ux EDITOR /usr/bin/vim
|
set -x EDITOR /usr/bin/vim
|
||||||
end
|
end
|
||||||
|
3
vim.spec
3
vim.spec
@ -813,6 +813,9 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags
|
|||||||
%config(noreplace) %{_datadir}/fish/vendor_conf.d/vim-default-editor.fish
|
%config(noreplace) %{_datadir}/fish/vendor_conf.d/vim-default-editor.fish
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Oct 12 2020 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.2.1815-2
|
||||||
- fix installing fish profile, set virtual provide for default editor
|
- fix installing fish profile, set virtual provide for default editor
|
||||||
(thanks Neal Gompa and Kamil Dudka)
|
(thanks Neal Gompa and Kamil Dudka)
|
||||||
|
Loading…
Reference in New Issue
Block a user