diff --git a/arch_update b/arch_update index a1269ee..92b8de0 100755 --- a/arch_update +++ b/arch_update @@ -26,7 +26,10 @@ fi echo -e '\nInstalling dependencies ...' >&2 ! which curl >/dev/null 2>&1 && sudo pacman -Syu curl ! which git >/dev/null 2>&1 && sudo pacman -Syu git -! which nvim >/dev/null 2>&1 && sudo pacman -Syu neovim +if ! which nvim >/dev/null 2>&1; then + sudo pacman -Syu neovim + sudo ln -s /usr/bin/nvim /usr/local/bin/vim +fi ! which rankmirrors >/dev/null 2>&1 && sudo pacman -Syu pacman-contrib if ! which yay >/dev/null 2>&1; then sudo pacman -Syu