.dotfiles/install.conf.yaml
2022-02-23 00:20:43 +01:00

40 lines
1 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
~/.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 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 & upgrade nvim plugins
- command: nvim +PlugUpgrade +PlugUpdate +qall
stdin: true
stdout: true
description: "Install nvim plugins! Hit enter once if stuck:"
quiet: false
# do this last to override generated .zshrc
- link:
~/.zshrc:
force: true
path: shell/zshrc