.dotfiles/install.conf.yaml

46 lines
1.2 KiB
YAML
Raw Normal View History

2019-12-11 22:17:37 +01:00
- 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
2020-12-19 19:39:32 +01:00
~/.config/kitty:
path: kitty
2019-12-11 23:13:24 +01:00
2019-12-11 22:17:37 +01:00
- shell:
# install ohmyzsh
2019-12-11 23:55:18 +01:00
-
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
2019-12-11 22:17:37 +01:00
# install vim plug for vim
2019-12-11 23:55:18 +01:00
- [curl -fLo vim/vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim, "Install vim-plug for vim:"]
2019-12-11 22:17:37 +01:00
# install vim plug for nvim
2019-12-11 23:55:18 +01:00
- [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:"]
2019-12-11 22:17:37 +01:00
# install vim plugins
2019-12-11 23:55:18 +01:00
-
command: vim +PlugInstall +qall
stdin: true
stdout: true
description: "Install vim plugins! Hit enter once if stuck:"
quiet: false
2019-12-11 23:13:24 +01:00
# do this last to override generated .zshrc
- link:
~/.zshrc:
force: true
path: shell/zshrc