-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.conf.yaml
155 lines (151 loc) · 4.46 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
- defaults:
link:
relink: true
force: true
- clean: ['~']
- create:
- ~/bin
- link:
~/.tmux.conf:
if: 'command -v tmux >/dev/null 2>&1'
path: tmux/tmux.conf
~/.vimrc: vim/vimrc
~/.ideavimrc: vim/ideavimrc
~/.config/nvim/:
if: 'command -v nvim >/dev/null 2>&1'
create: true
glob: true
path: nvim/*
~/.zshrc: zsh/zshrc
~/.zsh/themes/:
create: true
glob: true
path: zsh/themes/*
~/.gitignore: git/gitignore
~/.gitconfig: git/gitconfig
~/bin/:
create: true
glob: true
path: bin/*
~/.ripgreprc:
if: 'command -v rg >/dev/null 2>&1'
path: ripgrep/ripgreprc
~/.config/bottom/bottom.toml:
if: 'command -v bottom >/dev/null 2>&1'
path: bottom/bottom.toml
~/.config/starship.toml:
if: 'command -v starship >/dev/null 2>&1'
path: starship/starship.toml
create: true
~/.config/bat/:
if: 'command -v bat >/dev/null 2>&1 || command -v batcat >/dev/null 2>&1'
create: true
glob: true
path: bat/*
"~/Library/Application Support/Code/User/settings.json":
if: '[ `uname` = Darwin ]'
create: true
path: vscode/settings.json
~/.config/alacritty/:
if: 'command -v alacritty >/dev/null 2>&1'
create: true
glob: true
path: alacritty/*
~/.wezterm.lua: wezterm/wezterm.lua
~/.config/yazi/:
if: 'command -v yazi >/dev/null 2>&1'
create: true
glob: true
path: yazi/*
~/.config/lazygit/:
if: 'command -v lazygit >/dev/null 2>&1'
create: true
glob: true
path: lazygit/*
~/.config/nushell/:
if: 'command -v nu >/dev/null 2>&1'
create: true
glob: true
path: nu/*
~/.config/atuin/:
if: 'command -v atuin >/dev/null 2>&1'
create: true
glob: true
path: atuin/*
- shell:
- [git submodule update --init --recursive, Installing submodules]
- ["vim +PlugUpdate +PlugClean! +qa", Installing and updating plugins]
- description: "Clone or update the Tmux Plugin Manager"
command: |
if ! command -v tmux &>/dev/null; then
exit 0
fi
REPO_PATH="$HOME/.tmux/plugins/tpm"
REPO_URL="https://github.com/tmux-plugins/tpm"
if [ ! -d "$REPO_PATH/.git" ]; then
git clone "$REPO_URL" "$REPO_PATH"
else
git -C "$REPO_PATH" pull
fi
if [ -n "$TMUX" ]; then
tmux source ~/.tmux.conf
fi
quiet: true
stderr: true
stdout: true
- description: "Re-build BAT cache"
command: |
if command -v bat &>/dev/null; then
bat cache --build
elif command -v batcat &>/dev/null; then
batcat cache --build
fi
quiet: true
stderr: true
stdout: true
- description: "Clone or update the zsh-syntax-highlighting plugin for zsh"
command: |
REPO_PATH="${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting"
REPO_URL="https://github.com/zsh-users/zsh-syntax-highlighting.git"
if [ ! -d "$REPO_PATH/.git" ]; then
git clone "$REPO_URL" "$REPO_PATH"
else
git -C "$REPO_PATH" pull
fi
quiet: true
stderr: true
stdout: true
- description: "Clone or update the fzf-tab plugin for zsh"
command: |
REPO_PATH="${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fzf-tab"
REPO_URL="https://github.com/Aloxaf/fzf-tab"
if [ ! -d "$REPO_PATH/.git" ]; then
git clone "$REPO_URL" "$REPO_PATH"
else
git -C "$REPO_PATH" pull
fi
quiet: true
stderr: true
stdout: true
- description: "Clone or update the zsh-autosuggestions plugin"
command: |
REPO_PATH="${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-autosuggestions"
REPO_URL="https://github.com/zsh-users/zsh-autosuggestions"
if [ ! -d "$REPO_PATH/.git" ]; then
git clone "$REPO_URL" "$REPO_PATH"
else
git -C "$REPO_PATH" pull
fi
quiet: true
stderr: true
stdout: true
- description: "Generate oh-my-zsh plugin for atuin"
command: |
REPO_PATH="${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/atuin"
if command -v atuin &>/dev/null; then
mkdir -p $REPO_PATH 2>/dev/null
atuin init zsh --disable-up-arrow > $REPO_PATH/atuin.plugin.zsh
fi
quiet: true
stderr: true
stdout: true