-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfreshrc
230 lines (182 loc) · 7.23 KB
/
freshrc
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
# freshshell.com
#
# See http://freshshell.com/readme for documentation.
fresh freshshell/fresh bin/fresh --bin
# inputrc - base set up
fresh profile --file
fresh Xmodmap --file
fresh inputrc --file
fresh jasoncodes/dotfiles config/inputrc --file
# bash set up
fresh bashrc --file
fresh 'bash/*' --file=~/.bashrc
fresh freshshell/fresh contrib/completion/fresh-completion.bash --file=~/.bashrc
# zsh set up
fresh zshrc --file
fresh zsh/zshenv --file
fresh freshshell/fresh contrib/completion/fresh-completion.zsh --file=~/.zshrc
fresh zsh/foobacca.zsh-theme --file=~/.oh-my-zsh/custom/themes/foobacca.zsh-theme
fresh zsh/foobacca-git.plugin.zsh --file=~/.oh-my-zsh/custom/plugins/foobacca-git/foobacca-git.plugin.zsh
# fresh zsh/mosh.plugin.zsh --file=~/.oh-my-zsh/custom/mosh.plugin.zsh
# fresh zsh/tmuxinator.plugin.zsh --file=~/.oh-my-zsh/custom/plugins/tmuxinator.plugin.zsh
fresh zsh-users/zsh-syntax-highlighting . --file=~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/
# fresh jeffreytse/zsh-vi-mode . --file=~/.oh-my-zsh/custom/plugins/zsh-vi-mode/
fresh zsh/p10k.zsh --file=~/.p10k.zsh
# general shell stuff for both bash and zsh
fresh 'shell/*'
fresh jasoncodes/dotfiles shell/aliases/editor.sh
# xbindkeys for switching windows
fresh xbindkeysrc --file
# tools
fresh ackrc --file
fresh jasoncodes/dotfiles config/sqliterc --file
# git
fresh "git/gitconfig.$(hostname)" --file=~/.gitconfig
fresh git/gitconfig --file
if hash delta 2>/dev/null; then
fresh "git/gitconfig.delta" --file=~/.gitconfig
fi
fresh git/gitignore --file
fresh git/gitattributes --file
fresh git/gitmessage --file
fresh tigrc --file
# hg - in dev, do:
# hg clone http://bitbucket.org/sjl/hg-prompt/
fresh hgrc-promptonly --file
# vim
fresh gvimrc --file
fresh vimperatorrc --file
# lazyvim
fresh lazyvim/init.lua --file=~/.config/nvim/init.lua
fresh lazyvim/lua --file=~/.config/nvim/lua/
# note vimrc sources files from .dotfiles/vim in particular order
# fresh vimrc --file=~/.vimrc
# fresh ideavimrc --file=~/.ideavimrc
# # if we copy in blindly we might stuff up the vundle installation
# # so only copy in once the directory exists
# if [ -d "$HOME/.vim/plugged/vim-airline/autoload/airline/themes" ]; then
# fresh vim/airline/themes/solarized2.vim --file=~/.vim/plugged/vim-airline/autoload/airline/themes/solarized2.vim
# fi
#
# # neovim
# fresh nvim/init.vim --file=~/.config/nvim/init.vim
# emacs
fresh emacs.d/init.el --file=~/.emacs.d/init.el
fresh emacs.d/notmuch-config.el --file=~/.emacs.d/notmuch-config.el
fresh emacs.d/init --file=~/.emacs.d/init/
#fresh emacs.d/org-mode --file=~/.emacs.d/org-mode
fresh emacsmirror/evil . --file=~/.emacs.d/evil/
# tmux
if [ $(hostname) != "foobacca.co.uk" ] && [ $(hostname) != "kingston" ]; then
# this contains using ctrl-space - only do that on laptop/desktop - not on servers
fresh 'tmux-local/*' --file=~/.tmux.conf
fi
fresh 'tmux/*' --file=~/.tmux.conf
# dircolors - solarized
fresh foobacca/dircolors-solarized dircolors.ansi-universal --file=~/.dircolors
# development lighttpd
fresh lighttpd.conf --file=~/dev/lighttpd/lighttpd.conf
fresh empty --file=~/dev/lighttpd/logs/empty
# bin commands
fresh 'bin/*' --bin
fresh 'gitbin/*' --bin
fresh clvv/fasd fasd --bin
# sack stuff - https://github.com/sampson-chen/sack
fresh sampson-chen/sack sack --bin
fresh sampson-chen/sack sag --bin
fresh sampson-chen/sack sgrep --bin
fresh sampson-chen/sack .sackrc
# powerline
fresh powerline --file=~/.config/powerline/
# gui apps
# redshift
fresh redshift.conf --file=~/.config/redshift.conf
# urxvt set up
fresh Xdefaults --file
# alacritty set up
fresh alacritty/Alacritty.desktop --file=~/.local/share/applications/Alacritty.desktop
fresh alacritty/alacritty.png --file=~/.local/share/icons/hicolor/256x256/apps/alacritty.png
fresh alacritty/alacritty.yml --file=~/.config/alacritty/alacritty.yml
# kitty
fresh kitty/kitty.conf --file=~/.config/kitty/kitty.conf
# terminator solarized sample config
fresh ghuntley/terminator-solarized config --file=~/.config/terminator/config-solarized
# xchat - solarized
fresh solarized/xchat-colors-solarized solarized-dark-colors.conf --file=~/.xchat2/colors.conf
# xmonad
fresh xmonad/xmonad.hs --file=~/.xmonad/xmonad.hs
# regolith/i3
fresh regolith/i3/config --file=~/.config/regolith/i3/config
fresh regolith/Xresources --file=~/.config/regolith/Xresources
# pypyp
# need to do `pipsi install pypyp` and then install pipetools into that venv and then
fresh pypyp.py --file=~/.config/pypyp.py
# markdown lint
fresh markdownlint-cli2.yaml --file
############
# mail stuff
############
# common stuff
if [ $(hostname) = "foobacca.co.uk" ] || [ $(hostname) = "lap-e330" ] || [ $(hostname) = "mishtop" ]; then
fresh mail/signature.work --file=~/.signature.work
fresh mail/mbsyncrc --file=~/.mbsyncrc
fresh mail/checkworkmail --bin
# fresh mail/offlineimaprc --file=~/.offlineimaprc
# notmuch filtering
fresh mail/notmuch-post-new.work --bin=~/workmail/.notmuch/hooks/post-new
fresh afew/config --file=~/.config/afew/config
fi
if [ $(hostname) = "steelcommando" ]; then
fresh mail/signature.linguamatics --file=~/.signature
fresh mail/mbsyncrc.linguamatics --file=~/.mbsyncrc
fresh mail/checkworkmail --bin
fresh mail/mail-pass --bin
# fresh mail/offlineimaprc --file=~/.offlineimaprc
# notmuch filtering
fresh mail/notmuch-config-linguamatics --file=~/.notmuch-config
fresh mail/notmuch-post-new.linguamatics --bin=~/local/mail/.notmuch/hooks/post-new
fresh afew/config.linguamatics --file=~/.config/afew/config
fresh mail/notmuch-work-abook-ignore --file=/opt/hdowner/.notmuch-work-abook-ignore
fi
# foobacca only stuff
if [ $(hostname) = "foobacca.co.uk" ]; then
fresh mail/mailcap.server --file=~/.mailcap
fresh mail/msmtprc --file=~/.msmtprc
# core notmuch
fresh mail/notmuch-config-work --file=~/.notmuch-config-work
fresh mail/notmuch-config-gmail --file=~/.notmuch-config
# gmail collection script
fresh zx2c4/gmail-notmuch gmail-notmuch.py --bin
fresh mail/notmuch-work-abook-ignore --file=~/.notmuch-work-abook-ignore
fresh-options --file=~/.config/alotwork/config
fresh alot/config.common
fresh alot/config.work
fresh alot/config.bindings
fresh alot/config.theme
fresh-options
fresh alot/hooks.py --file=~/.config/alotwork/hooks.py
fresh alot/themes/solarized_dark --file=~/.config/alotwork/themes/solarized_dark
fresh-options --file=~/.config/alot/config
fresh alot/config.common
fresh alot/config.gmail
fresh alot/config.bindings
fresh alot/config.theme
fresh-options
fresh alot/hooks.py --file=~/.config/alot/hooks.py
fresh alot/themes/solarized_dark --file=~/.config/alot/themes/solarized_dark
fi
# laptop only stuff
if [ $(hostname) = "lap-e330" ]; then
fresh mail/mailcap.laptop --file=~/.mailcap
fresh mail/notmuch-config-work --file=~/.notmuch-config
# alot - notmuch based mail client
fresh-options --file=~/.config/alot/config
fresh alot/config.common
fresh alot/config.work
fresh alot/config.bindings
fresh alot/config.theme
fresh-options
fresh alot/hooks.py --file=~/.config/alot/hooks.py
fresh alot/themes/solarized_dark --file=~/.config/alot/themes/solarized_dark
fi
# vi: ft=sh