/
install.conf.yaml
57 lines (54 loc) · 1.42 KB
/
install.conf.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
- defaults:
link:
relink: true
relative: true
force: true
- clean: ['~']
- link:
~/.dotfiles:
path: ''
force: false
relink: false
~/.astylerc:
~/.bash_profile: bash/bash_profile
~/.bashrc: bash/bashrc
~/.gitconfig:
~/.inputrc:
~/.liquidpromptrc: bash/liquidpromptrc
~/.mdlrc:
~/.pdbrc:
~/.tmux.conf:
~/.vim:
force: false
- shell:
-
command: git submodule update --init --recursive
description: Installing submodules
- mkdir -p -m 0700 ~/tmp/vim
- test -e ~/.bashrc.d && rmdir --ignore-fail-on-non-empty -v ~/.bashrc.d/ || true
-
command: >
test -e ~/.bashrc.d || (
git config remote.origin.url | grep -q '^git@' &&
(git clone $(git config remote.origin.url | sed -e 's/\bdotfiles\b/bashrc.d/') ~/.bashrc.d)
|| mkdir -v ~/.bashrc.d
)
description: Setup ~/.bashrc.d
quiet: true
stderr: true
-
command: >
curl -sSL https://raw.githubusercontent.com/sjoegren/hedgehog/main/install-hedgehog.bash
| BASH_DIR=$HOME/.bashrc.d bash -s -- --force || :
description: Install hedgehog
quiet: true
stdout: true
stderr: true
-
command: >
curl -fLo ~/.vim/autoload/plug.vim --create-dirs
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
description: Downloading vim-plug
quiet: true
- touch ~/.vimrc_local
- touch ~/.ripgrepignore