-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.conf.yaml
167 lines (161 loc) · 4.98 KB
/
default.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
156
157
158
159
160
161
162
163
164
165
166
167
- defaults:
link:
relink: true
# relative: true
- clean: ['~']
- link:
~/.bashrc: bashrc
~/.bashrc.d/01-systype.sh:
create: true
path: bashrc.d/01-systype.sh
~/.bashrc.d/10-prompt.sh:
create: true
path: bashrc.d/10-prompt.sh
~/.bashrc.d/75-editor.sh:
create: true
path: bashrc.d/75-editor.sh
~/.bashrc.d/80-completion.sh:
create: true
path: bashrc.d/80-completion.sh
~/.bashrc.d/85-ssh-agent.sh:
create: true
path: bashrc.d/85-ssh-agent.sh
~/.bashrc.d/86-gpg-agent.sh:
create: true
path: bashrc.d/86-gpg-agent.sh
~/.bashrc.d/99-gcloud.sh:
create: true
path: bashrc.d/99-gcloud.sh
~/.bashrc.d/99-misc.sh:
create: true
path: bashrc.d/99-misc.sh
~/.bash_aliases: bash_aliases
~/.bash_completion.d: bash_completion.d
~/.bash_functions: bash_functions
~/.bash_profile: bash_profile
~/.bash-git-prompt: bash-git-prompt
~/.zshrc: zshrc
~/.zsh_aliases: zsh_aliases
~/.zsh_functions: zsh_functions
~/.zprofile: zprofile
~/.zshrc.d/01-systype.zsh:
create: true
path: zshrc.d/01-systype.zsh
~/.zshrc.d/50-iterm2.zsh:
create: true
path: zshrc.d/50-iterm2.zsh
~/.zshrc.d/99-misc.zsh:
create: true
path: zshrc.d/99-misc.zsh
~/.zshrc.d/99-p10k.zsh:
create: true
path: zshrc.d/99-p10k.zsh
~/.zshrc.d/99-filebot.zsh:
create: true
path: zshrc.d/99-filebot.zsh
~/.oh-my-zsh: oh-my-zsh
~/.oh-my-zsh/custom/themes/powerlevel10k: oh-my-zsh-powerlevel10k
~/.oh-my-zsh/custom/plugins/zsh-autosuggestions: zsh-autosuggestions
~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting: zsh-syntax-highlighting
~/.dircolors: dircolors-dark
~/.gitignore_global: gitignore_global
~/.gnupg/gpg.conf:
create: true
path: gpg.conf
~/.ssh/conf.d/00-base.conf:
create: true
path: ssh/conf.d/00-base.conf
~/.ssh/conf.d/60-loth.conf:
create: true
path: ssh/conf.d/60-loth.conf
~/.ssh/conf.d/60-misc.conf:
create: true
path: ssh/conf.d/60-misc.conf
~/.ssh/conf.d/99-wildcard.conf:
create: true
path: ssh/conf.d/99-wildcard.conf
~/.tmux: tmux
~/.tmux.conf: tmux.conf
~/.tmux/local.conf:
path: tmux-linux-local.conf
if: '[ `uname` = Linux ]'
~/.vim: vim
~/.vimrc: vimrc
#
# Utils
~/bin/decomment:
path: bin/decomment
~/bin/yamllint:
path: bin/yamllint
~/bin/yamlextract:
path: bin/yamlextract
~/bin/stripansi:
path: bin/stripansi
~/bin/dnssoa:
path: bin/dnssoa
~/bin/movieres:
path: bin/movieres
~/bin/openrdp:
path: bin/openrdp
~/bin/watchtowerupdate:
path: bin/watchtowerupdate
#
# Emacs
~/.emacs:
path: emacs
if: '[[ "$(which emacs)" != "" ]]'
~/.emacs.d:
path: emacs.d
if: '[[ "$(which emacs)" != "" ]]'
~/bin/emc:
path: bin/emc
if: '[[ "$(which emacs)" != "" ]]'
#
# Home
~/.bashrc.d/90-cdrsettings.sh:
path: bashrc.d/90-cdrsettings.sh
create: true
if: '[[ $(hostname -f) =~ lapseofthought.com$ ]]'
~/.gitconfig:
path: gitconfig-home
if: '[[ $(hostname -f) =~ lapseofthought.com$ ]]'
~/.ssh/conf.d/60-lopsa.conf:
create: true
path: ssh/conf.d/60-lopsa.conf
if: '[[ $(hostname -f) =~ lapseofthought.com$ ]]'
~/.iterm2rc/com.googlecode.iterm2.plist:
create: true
path: iterm2rc/com.googlecode.iterm2.plist-home
if: '[[ $(hostname -f) =~ lapseofthought.com$ ]]'
- link:
#
# Mac files
~/.hammerspoon:
path: hammerspoon
if: '[ -d "/Applications/Hammerspoon.app" ]'
~/bin/imgls:
path: bin/imgls
if: '[ -d "/Applications/iTerm.app" ]'
~/bin/imgcat:
path: bin/imgcat
if: '[ -d "/Applications/iTerm.app" ]'
~/bin/divider:
path: bin/divider
if: '[ -d "/Applications/iTerm.app" ]'
~/bin/it2cmd:
path: bin/it2cmd
if: '[ -d "/Applications/iTerm.app" ]'
~/.tmux/local.conf:
path: tmux-mac-local.conf
if: '[ -d "/Applications/iTerm.app" ]'
~/.iterm2_shell_integration.bash:
path: iterm2_shell_integration.bash
if: '[ -d "/Applications/iTerm.app" ]'
- shell:
- [ chmod 700 ~/.ssh && chmod 700 ~/.ssh/conf.d && chmod 600 ~/.ssh/config, Updating ssh file permissions]
- [ "if [ `find ~/.ssh/conf.d -follow ! -type d -newer ~/.ssh/config -print | wc -l` -ne 0 ]; then cat ~/.ssh/conf.d/* > ~/.ssh/config; fi", Updating ssh configuration ]
- shell:
- [ git submodule update --init --recursive, Installing submodules]
- [ test -f ~/.ssh/config || touch -t 197001010000 ~/.ssh/config, Creating ~/.ssh/config ]
- [ chmod 700 ~/.ssh && chmod 700 ~/.ssh/conf.d && chmod 600 ~/.ssh/config, Updating ssh file permissions]
- [ "if [ `find ~/.ssh/conf.d -follow ! -type d -newer ~/.ssh/config -print | wc -l` -ne 0 ]; then cat ~/.ssh/conf.d/* > ~/.ssh/config; fi", Updating ssh configuration ]