From 1ae843ba0ee1aced8629e28c3e740f32c3a72878 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 31 Oct 2021 15:20:26 +0100 Subject: Initial commit --- .config/yadm/bootstrap | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .config/yadm/bootstrap (limited to '.config/yadm/bootstrap') diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap new file mode 100644 index 0000000..5adeb2f --- /dev/null +++ b/.config/yadm/bootstrap @@ -0,0 +1,28 @@ +#!/bin/sh + +# # +# zsh +# # + +ZSH=$HOME/.config/zsh/ohmyzsh + +if [ ! -d "$ZSH" ] +sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" +fi + + +# # +# vim +# # + +PLUG=$HOME/.local/share/nvim/site/autoload/plug.vim + +if [ ! -f "$PLUG" ] +curl -fLo $PLUG --create-dirs \ + https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim +fi + +if command -v nvim > /dev/null 2>&1; then + nvim '+PlugUpdate' '+PlugClean!' '+PlugUpdate' '+qall' +fi + -- cgit v1.2.3