-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.conf.yaml
71 lines (61 loc) · 1.72 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
- defaults:
link:
create: true
force: true
relink: true
- clean: ['~']
- link:
# --- Shells ---
~/.zshenv: zsh/.zshenv
~/.zsh/.zshrc: zsh/.zshrc
~/.zsh/.zsh_plugins.txt: zsh/.zsh_plugins.txt
# Not matched by glob for some reason
~/.zsh/.p10k.zsh: zsh/.p10k.zsh
~/.zsh/:
glob: true
path: zsh/*.zsh
# Link platform specific files in accordingly
~/.zsh/.zshrc.mac:
if: '[ `uname` = Darwin ]'
path: zsh/.zshrc.mac
~/.zsh/.zsh_plugins_macos.txt:
if: '[ `uname` = Darwin ]'
path: zsh/.zsh_plugins_macos.txt
# Useful fallback if ZSH is not installed
~/.bash_profile: bash/.bash_profile
# --- Editors ---
~/.vimrc: vim/.vimrc
~/.vim: vim/.vim
# No longer using Atom
# ~/.atom/keymap.cson: atom/keymap.cson
# ~/.atom/snippets.cson: atom/snippets.cson
# --- Languages ---
~/.pylintrc: python/.pylintrc
~/.eslintrc: eslint/.eslintrc
# --- Git ---
~/.gitmessage: git/.gitmessage
~/.gitignore: git/.gitignore
# Hacky way to choose which gitconfig to use
# If my $USER is the work username use work
- defaults:
link:
relink: true
if: '[ $USER = "mrynjoh" ]'
- link:
~/.gitconfig: git/work.gitconfig
# If my GPG key is present use personal
- defaults:
link:
relink: true
if: '[ ! $USER = "mrynjoh" ] && gpg --list-keys F5C69966C2B2A4FB'
- link:
~/.gitconfig: git/personal.gitconfig
# Otherwise use default
- defaults:
link:
relink: true
if: '[ ! $USER = "mrynjoh" ] && ! gpg --list-keys F5C69966C2B2A4FB'
- link:
~/.gitconfig: git/.gitconfig
- shell:
- [git submodule update --remote dotbot, Installing submodules]