Files
dotfiles/dotbot.default.yaml
T
2025-02-15 11:18:58 +02:00

77 lines
1.7 KiB
YAML

- defaults:
link:
relink: true
- clean: ['~']
- create:
- ~/.config
- ~/.config/bash
- ~/.config/tmux
- link:
# git
~/.gitconfig: home/gitconfig
~/.config/.gitignore_global: home/config/gitignore_global
# bash
~/.bashrc: home/bashrc
~/.config/bash/.bash_profile: home/config/bash/bash_profile
~/.git-completion.bash: home/config/bash/git-completion.bash
~/.git-prompt-colors.sh: home/config/bash/git-prompt-colors.sh
# apps
~/.config/alacritty: home/config/alacritty
~/.config/btop: home/config/btop
# tmux
~/.tmux.conf: home/tmux.conf
~/.config/tmux/plugins: home/config/tmux/plugins
~/.config/tmux/themes: home/config/tmux/themes
~/.config/.aliases: home/config/aliases
# vim
~/.vim : home/vim
~/.vimrc: home/vimrc
# zsh
~/.zshenv: home/zshenv
~/.config/zsh: home/config/zsh
# mac os
~/.hushlogin:
if: '[ `uname` = Darwin ]'
path: macos/hushlogin
- shell:
- git submodule sync --recursive
# the following have to run after linking ~/.gitconfig
- git update-submodules
- >
git cleanall -f
home/config/tmux/plugins
home/config/bash/bash-git-prompt
home/config/zsh/plugins
home/vim/bundle/
# install BD zsh plugin - this needs to happen after the cleanall
- mkdir -p ~/.config/zsh/plugins/bd
- curl https://raw.githubusercontent.com/Tarrasch/zsh-bd/master/bd.zsh > ~/.config/zsh/plugins/bd/bd.zsh
- stdin: true
stdout: true
stderr: true
command: >
if [ "$(uname)" = "Darwin" ]; then
./install_macos.sh
fi
- stdin: true
stdout: true
stderr: true
command: >
if [ "$(uname)" = "Linux" ]; then
./install_linux.sh
fi