aboutsummaryrefslogtreecommitdiff
path: root/.config/yadm/bootstrap
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-03-02 19:23:57 +0100
committerlonkaars <loek@pipeframe.xyz>2024-03-02 19:23:57 +0100
commit1deef8e1a82c839120b49188819c8a6880d964f4 (patch)
treeffddc2bb3ea73e53443628d91f6b5270531a1c84 /.config/yadm/bootstrap
parent932a3700512319e43ac788a55996a236b612f5f1 (diff)
remove vim-plug from repository + install vim plugins automatically in bootstrap process
Diffstat (limited to '.config/yadm/bootstrap')
-rwxr-xr-x.config/yadm/bootstrap12
1 files changed, 9 insertions, 3 deletions
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
+