diff --git a/vim-default-editor.fish b/vim-default-editor.fish
index f4cc15e..e4288c1 100644
--- a/vim-default-editor.fish
+++ b/vim-default-editor.fish
@@ -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
diff --git a/vim.spec b/vim.spec
index 2fc52c8..4060e42 100644
--- a/vim.spec
+++ b/vim.spec
@@ -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)