#!/bin/bash echo This is dumb but we need to temporarily disable "after" hooks so we can source packer.lua and then run :PackerSync echo Run :PackerSync and exit neovim, then enter again yourself. cd nvim/.config/nvim mv after after.bak nvim packer.lua mv after.bak after echo Now run neovim again!