From 8d9a766ede8a3116a57bca6aef31da7877f49ce3 Mon Sep 17 00:00:00 2001 From: Jidbo Date: Wed, 11 Dec 2019 22:17:37 +0100 Subject: [PATCH] add dotbot config file --- install.conf.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/install.conf.yaml b/install.conf.yaml index e69de29..39852eb 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -0,0 +1,30 @@ +- defaults: + link: + relink: true + create: true + +# clean config and home directory from bad symbolic links +- clean: ['~', '.config/'] + +- link: + ~/.zshrc: + force: true + path: shell/zshrc + ~/.tmux.conf: + path: shell/tmux.conf + ~/.vimrc: + path: vim/vimrc + ~/.vim: + path: vim/vim + ~/.config/nvim: + path: nvim + +- shell: + # install ohmyzsh + - sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" + # install vim plug for vim + - curl -fLo vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim + # install vim plug for nvim + - curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim + # install vim plugins + - vim +PlugInstall +qall