From cbc7da83e976e0291dc67d8cb105129176dca6d5 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Thu, 15 Oct 2020 13:29:42 +0200 Subject: [PATCH] vim-default-editor.fish - dont give EDITOR universal scope --- vim-default-editor.fish | 2 +- vim.spec | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/vim-default-editor.fish b/vim-default-editor.fish index f4cc15eb..e4288c18 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 2fc52c80..4060e42a 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 - 2:8.2.1815-2 +- vim-default-editor.fish - dont give EDITOR universal scope + * Mon Oct 12 2020 Zdenek Dohnal - 2:8.2.1815-2 - fix installing fish profile, set virtual provide for default editor (thanks Neal Gompa and Kamil Dudka)