From 801b176e713a8051a6f7cbd1eb681a73a7068b22 Mon Sep 17 00:00:00 2001 From: madumlao Date: Fri, 5 Nov 2021 20:20:51 +0800 Subject: [PATCH] Fix mistake with update-alternatives --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 34266fa..d603500 100755 --- a/install.sh +++ b/install.sh @@ -67,5 +67,5 @@ vim +PluginInstall +qall echo "Set vim-nox as the default system editor" VIM_PATH="$(which vim.nox)" if [ -x "$VIM_PATH" ]; then - sudo update-alternatives --config editor "$VIM_PATH" + sudo update-alternatives --set editor "$VIM_PATH" fi