From 1deef8e1a82c839120b49188819c8a6880d964f4 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 2 Mar 2024 19:23:57 +0100 Subject: remove vim-plug from repository + install vim plugins automatically in bootstrap process --- .config/yadm/bootstrap | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to '.config/yadm/bootstrap') diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap index 57461bc..c152f92 100755 --- a/.config/yadm/bootstrap +++ b/.config/yadm/bootstrap @@ -34,6 +34,12 @@ s yadm reflog expire --expire-unreachable=now --all &&\ s yadm gc --prune=now endtask +# note: vim-plug is already installed system-wide (see ./packages-arch) +begintask "installing vim plugins" +s nvim --headless +'PlugInstall --sync' +qa &&\ +s nvim --headless +CocUpdateSync +qa +endtask + [ -e "$HOME/readme.md" ] ||\ [ $(yadm status -s "$HOME/readme.md" | wc -l) -gt 0 ] && ( begintask "removing readme.md from home" @@ -59,8 +65,6 @@ endtask endtask ) -# TODO: create a second repository for system configuration in /etc - TIMESTOP="$(date +%s)" cat << EOF @@ -68,7 +72,9 @@ bootstrap finished in $(( $TIMESTOP - $TIMESTART ))s! follow-up steps to finish setup: - install GPG keys - - install fonts + - install nonfree fonts + - clone the pass repository in ~/.local/share/pass - make the switch to microsoft edge EOF + -- cgit v1.2.3