Fix mistake with update-alternatives
This commit is contained in:
1 parent
571214ad24
commit
801b176e71
1 file changed
+1
-1
+1
-1
@@ -67,5 +67,5 @@ vim +PluginInstall +qall
|
|||||||
echo "Set vim-nox as the default system editor"
|
echo "Set vim-nox as the default system editor"
|
||||||
VIM_PATH="$(which vim.nox)"
|
VIM_PATH="$(which vim.nox)"
|
||||||
if [ -x "$VIM_PATH" ]; then
|
if [ -x "$VIM_PATH" ]; then
|
||||||
sudo update-alternatives --config editor "$VIM_PATH"
|
sudo update-alternatives --set editor "$VIM_PATH"
|
||||||
fi
|
fi
|
||||||
Reference in new issue
Block a user