Move long commands from the dotbot config into own scripts to keep the install.conf.yaml more readable. Fix bug that the submodule init step fails when already done once since then the grep statement fails because there is no output.
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
- shell:
|
|
-
|
|
command: meta/submodules --init
|
|
description: Pulling all submodules
|
|
stdout: true
|
|
stderr: true
|
|
-
|
|
command: meta/archive
|
|
description: Archiving all files in ~/.config before overwriting them
|
|
stdout: true
|
|
stderr: true
|
|
-
|
|
command: .config/zsh/plugins/fzf/install --bin
|
|
description: Pulling fzf binary
|
|
stdout: true
|
|
stderr: true
|
|
-
|
|
command: /bin/sh -c '! command -v make || { cd .config/zsh/plugins/stderred && make; }'
|
|
description: Building stderred
|
|
stdout: true
|
|
stderr: true
|
|
- link:
|
|
~/.Xmodmap:
|
|
path: .Xmodmap
|
|
~/.Xresources:
|
|
path: .Xresources
|
|
~/.zshenv:
|
|
path: .zshenv
|
|
~/.config/:
|
|
create: true
|
|
glob: true
|
|
path: .config/*
|
|
~/.local/bin/:
|
|
create: true
|
|
glob: true
|
|
path: .local/bin/*
|
|
~/.local/share/man/man1/fzf.1:
|
|
create: true
|
|
path: .config/zsh/plugins/fzf/man/man1/fzf.1
|
|
~/.local/share/nvim/site/pack:
|
|
create: true
|
|
path: .config/vim/pack
|