From b55c1a17baa97bf7b2ce07c534377ef9c1883d7a Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Mon, 27 Feb 2023 01:35:54 +0200 Subject: [PATCH] dfm: Reset nvim command fixes --- local/bin/dfm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/local/bin/dfm b/local/bin/dfm index 293b887..c42669c 100755 --- a/local/bin/dfm +++ b/local/bin/dfm @@ -26,16 +26,15 @@ function section_reset ;; nvim) rm -rf ~/.local/share/nvim ~/.local/state/nvim ~/.cache/nvim ~/.config/astronvim ~/.config/nvim - msg_done "Deleted old nvim files" + msg_ok "Deleted old nvim files" ln -s ~/.dotfiles/config/astronvim ~/.config/astronvim ln -s ~/.dotfiles/config/nvim ~/.config/nvim - msg_done "Linked nvim and astronvim" + msg_ok "Linked nvim and astronvim" $0 install brew $0 install ext_go $0 install ext_npm - msg_done "Installed brew, and packages for go and npm" - nvim --headless -c 'autocmd User PackerComplete quitall' - msg_done "Installed nvim packages and we are now ready" + msg_ok "Installed brew, and packages for go and npm" + msg_done "...and we are done!" ;; *) menu_section "$USAGE_PREFIX" "all | nvim"