.dotfiles/install.conf.yaml
2020-12-19 19:39:32 +01:00

45 lines
1.2 KiB
YAML

- defaults:
link:
relink: true
create: true
# clean config and home directory from bad symbolic links
- clean: ['~', '.config/']
- link:
~/.tmux.conf:
path: shell/tmux.conf
~/.vimrc:
path: vim/vimrc
~/.vim:
path: vim/vim
~/.config/nvim:
path: nvim
~/.config/kitty:
path: kitty
- shell:
# install ohmyzsh
-
command: 'if [ ! -d ~/.oh-my-zsh ]; then sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"; fi'
stdin: false
stdout: true
description: "Install ohmyzsh:"
quiet: false
# install vim plug for vim
- [curl -fLo vim/vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim, "Install vim-plug for 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-plug for nvim:"]
# install vim plugins
-
command: vim +PlugInstall +qall
stdin: true
stdout: true
description: "Install vim plugins! Hit enter once if stuck:"
quiet: false
# do this last to override generated .zshrc
- link:
~/.zshrc:
force: true
path: shell/zshrc