flombe 0.1.0.2 → 0.1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bootstrap.sh +48 -0
- data/cookbooks/utils/attributes/git.rb +1 -0
- data/cookbooks/utils/files/default/DefaultKeyBinding.dict +13 -0
- data/cookbooks/utils/files/default/IR_Black.terminal +289 -0
- data/cookbooks/utils/recipes/colors.rb +12 -0
- data/cookbooks/utils/recipes/dotfiles.rb +13 -4
- data/cookbooks/utils/recipes/keyfixer.rb +16 -0
- data/cookbooks/utils/templates/default/dot.gitignore.erb +9 -0
- data/cookbooks/utils/templates/default/dot.profile.erb +6 -0
- data/lib/flombe.rb +1 -1
- metadata +9 -2
data/bootstrap.sh
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
echo "We gotta install Flombe first. I'll do that for you, don't worry."
|
2
|
+
|
3
|
+
mkdir -p ~/.flombe
|
4
|
+
echo "Run started on `date`" >> ~/.flombe/bootstrap.log 2>&1
|
5
|
+
which ruby >> ~/.flombe/bootstrap.log 2>&1
|
6
|
+
which gem >> ~/.flombe/bootstrap.log 2>&1
|
7
|
+
|
8
|
+
which gem | grep -q rvm
|
9
|
+
if [ $? -eq 0 ]; then
|
10
|
+
gem uninstall flombe -aIx >> ~/.flombe/bootstrap.log 2>&1
|
11
|
+
gem install flombe --no-rdoc --no-ri >> ~/.flombe/bootstrap.log 2>&1
|
12
|
+
else
|
13
|
+
echo "=> We've got to run sudo to access rubygems. Flombe's recipes will be installed on the current user."
|
14
|
+
sudo gem uninstall flombe -aIx >> ~/.flombe/bootstrap.log 2>&1
|
15
|
+
sudo gem install flombe --no-rdoc --no-ri >> ~/.flombe/bootstrap.log 2>&1
|
16
|
+
echo "=> We also need to update your gems. This may take a while if your connection sux."
|
17
|
+
sudo gem update >> ~/.flombe/bootstrap.log 2>&1
|
18
|
+
fi
|
19
|
+
|
20
|
+
echo "Flombe gem installed. Going to run a base install with homebrew and rvm."
|
21
|
+
|
22
|
+
if [ -f ~/.flombe/Flombefile ]; then
|
23
|
+
rm ~/.flombe/Flombefile
|
24
|
+
fi
|
25
|
+
|
26
|
+
echo 'recipe "homebrew"' >> ~/.flombe/Flombefile
|
27
|
+
echo 'recipe "rvm"' >> ~/.flombe/Flombefile
|
28
|
+
echo 'recipe "utils"' >> ~/.flombe/Flombefile
|
29
|
+
echo 'recipe "utils::dotfiles"' >> ~/.flombe/Flombefile
|
30
|
+
echo 'recipe "utils::colors"' >> ~/.flombe/Flombefile
|
31
|
+
echo 'recipe "utils::keyfixer"' >> ~/.flombe/Flombefile
|
32
|
+
|
33
|
+
cd ~/.flombe && flombe | tee -a ~/.flombe/bootstrap.log
|
34
|
+
|
35
|
+
echo "Flombe successful at `date`" >> ~/.flombe/bootstrap.log 2>&1
|
36
|
+
|
37
|
+
if [ "$?" -eq "0" ]; then
|
38
|
+
echo -e "\033[1;32mFlombe run was successful! :)\033[0m"
|
39
|
+
echo -e "\033[0;32mPlease open a new terminal window to have maximum goodness.\033[0m"
|
40
|
+
fi
|
41
|
+
|
42
|
+
if [ -f ~/.flombe.profile ]; then
|
43
|
+
source ~/.flombe.profile
|
44
|
+
fi
|
45
|
+
|
46
|
+
if [ -f ~/.bash_profile ]; then
|
47
|
+
source ~/.bash_profile
|
48
|
+
fi
|
@@ -0,0 +1 @@
|
|
1
|
+
default['utils::dotfiles']['git']['ignore'] = ['.DS_Store']
|
@@ -0,0 +1,13 @@
|
|
1
|
+
{
|
2
|
+
/* home */
|
3
|
+
"\UF729" = "moveToBeginningOfLine:";
|
4
|
+
"$\UF729" = "moveToBeginningOfLineAndModifySelection:";
|
5
|
+
|
6
|
+
/* end */
|
7
|
+
"\UF72B" = "moveToEndOfLine:";
|
8
|
+
"$\UF72B" = "moveToEndOfLineAndModifySelection:";
|
9
|
+
|
10
|
+
/* page up/down */
|
11
|
+
"\UF72C" = "pageUp:";
|
12
|
+
"\UF72D" = "pageDown:";
|
13
|
+
}
|
@@ -0,0 +1,289 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>BackgroundColor</key>
|
6
|
+
<data>
|
7
|
+
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
|
8
|
+
AAGGoKMHCA9VJG51bGzTCQoLDA0OViRjbGFzc1xOU0NvbG9yU3BhY2VVTlNSR0KAAhAB
|
9
|
+
SzAgMCAwIDAuODUA0hAREhNaJGNsYXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5T
|
10
|
+
T2JqZWN0XxAPTlNLZXllZEFyY2hpdmVy0RcYVHJvb3SAAQgRGiMtMjc7QUhPXGJkZnJ3
|
11
|
+
gouTlp+xtLkAAAAAAAABAQAAAAAAAAAZAAAAAAAAAAAAAAAAAAAAuw==
|
12
|
+
</data>
|
13
|
+
<key>Bell</key>
|
14
|
+
<true/>
|
15
|
+
<key>CursorBlink</key>
|
16
|
+
<false/>
|
17
|
+
<key>CursorColor</key>
|
18
|
+
<data>
|
19
|
+
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
|
20
|
+
AAGGoKMHCA9VJG51bGzTCQoLDA0OViRjbGFzc1xOU0NvbG9yU3BhY2VVTlNSR0KAAhAB
|
21
|
+
RjAgMSAwANIQERITWiRjbGFzc25hbWVYJGNsYXNzZXNXTlNDb2xvcqISFFhOU09iamVj
|
22
|
+
dF8QD05TS2V5ZWRBcmNoaXZlctEXGFRyb290gAEIERojLTI3O0FIT1xiZGZtcn2GjpGa
|
23
|
+
rK+0AAAAAAAAAQEAAAAAAAAAGQAAAAAAAAAAAAAAAAAAALY=
|
24
|
+
</data>
|
25
|
+
<key>CursorType</key>
|
26
|
+
<integer>0</integer>
|
27
|
+
<key>DisableANSIColor</key>
|
28
|
+
<false/>
|
29
|
+
<key>Font</key>
|
30
|
+
<data>
|
31
|
+
YnBsaXN0MDDUAQIDBAUGGBlYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
|
32
|
+
AAGGoKQHCBESVSRudWxs1AkKCwwNDg8QViRjbGFzc1ZOU05hbWVWTlNTaXplWE5TZkZs
|
33
|
+
YWdzgAOAAiNAJAAAAAAAABAQVk1vbmFjb9ITFBUWWiRjbGFzc25hbWVYJGNsYXNzZXNW
|
34
|
+
TlNGb250ohUXWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hpdmVy0RobVHJvb3SAAQgRGiMt
|
35
|
+
Mjc8QktSWWBpa212eH+Ej5ifoqu9wMUAAAAAAAABAQAAAAAAAAAcAAAAAAAAAAAAAAAA
|
36
|
+
AAAAxw==
|
37
|
+
</data>
|
38
|
+
<key>FontAntialias</key>
|
39
|
+
<false/>
|
40
|
+
<key>ProfileCurrentVersion</key>
|
41
|
+
<real>2.0099999999999998</real>
|
42
|
+
<key>SelectionColor</key>
|
43
|
+
<data>
|
44
|
+
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
|
45
|
+
AAGGoKMHCA9VJG51bGzTCQoLDA0OViRjbGFzc1xOU0NvbG9yU3BhY2VVTlNSR0KAAhAB
|
46
|
+
TxAnMC40OTgwMzkyMTU4IDAuNDk4MDM5MjE1OCAwLjQ5ODAzOTIxNTgA0hAREhNaJGNs
|
47
|
+
YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hp
|
48
|
+
dmVy0RcYVHJvb3SAAQgRGiMtMjc7QUhPXGJkZpCVoKmxtL3P0tcAAAAAAAABAQAAAAAA
|
49
|
+
AAAZAAAAAAAAAAAAAAAAAAAA2Q==
|
50
|
+
</data>
|
51
|
+
<key>ShouldLimitScrollback</key>
|
52
|
+
<integer>0</integer>
|
53
|
+
<key>ShowActiveProcessInTitle</key>
|
54
|
+
<false/>
|
55
|
+
<key>ShowCommandKeyInTitle</key>
|
56
|
+
<true/>
|
57
|
+
<key>ShowDimensionsInTitle</key>
|
58
|
+
<false/>
|
59
|
+
<key>ShowShellCommandInTitle</key>
|
60
|
+
<false/>
|
61
|
+
<key>ShowTTYNameInTitle</key>
|
62
|
+
<false/>
|
63
|
+
<key>ShowWindowSettingsNameInTitle</key>
|
64
|
+
<false/>
|
65
|
+
<key>TextBoldColor</key>
|
66
|
+
<data>
|
67
|
+
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
|
68
|
+
AAGGoKMHCA9VJG51bGzTCQoLDA0OViRjbGFzc1xOU0NvbG9yU3BhY2VXTlNXaGl0ZYAC
|
69
|
+
EANCMQDSEBESE1okY2xhc3NuYW1lWCRjbGFzc2VzV05TQ29sb3KiEhRYTlNPYmplY3Rf
|
70
|
+
EA9OU0tleWVkQXJjaGl2ZXLRFxhUcm9vdIABCBEaIy0yNztBSE9cZGZoa3B7hIyPmKqt
|
71
|
+
sgAAAAAAAAEBAAAAAAAAABkAAAAAAAAAAAAAAAAAAAC0
|
72
|
+
</data>
|
73
|
+
<key>TextColor</key>
|
74
|
+
<data>
|
75
|
+
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
|
76
|
+
AAGGoKMHCA9VJG51bGzTCQoLDA0OViRjbGFzc1xOU0NvbG9yU3BhY2VXTlNXaGl0ZYAC
|
77
|
+
EANLMC45NDc1ODA2NADSEBESE1okY2xhc3NuYW1lWCRjbGFzc2VzV05TQ29sb3KiEhRY
|
78
|
+
TlNPYmplY3RfEA9OU0tleWVkQXJjaGl2ZXLRFxhUcm9vdIABCBEaIy0yNztBSE9cZGZo
|
79
|
+
dHmEjZWYobO2uwAAAAAAAAEBAAAAAAAAABkAAAAAAAAAAAAAAAAAAAC9
|
80
|
+
</data>
|
81
|
+
<key>UseBoldFonts</key>
|
82
|
+
<true/>
|
83
|
+
<key>UseBrightBold</key>
|
84
|
+
<false/>
|
85
|
+
<key>VisualBell</key>
|
86
|
+
<false/>
|
87
|
+
<key>blackColour</key>
|
88
|
+
<data>
|
89
|
+
BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
|
90
|
+
ZmZmg5+cnj6Dn5yePoOfnJ4+AYY=
|
91
|
+
</data>
|
92
|
+
<key>blueColour</key>
|
93
|
+
<data>
|
94
|
+
BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
|
95
|
+
ZmZmg5eWFj+DzMtLP4P//n4/AYY=
|
96
|
+
</data>
|
97
|
+
<key>brightBlackColour</key>
|
98
|
+
<data>
|
99
|
+
BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
|
100
|
+
ZmZmg/n4+D6D+fj4PoP5+Pg+AYY=
|
101
|
+
</data>
|
102
|
+
<key>brightBlueColour</key>
|
103
|
+
<data>
|
104
|
+
BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
|
105
|
+
ZmZmg7YuNj+D3d5cP4MAjn8/AYY=
|
106
|
+
</data>
|
107
|
+
<key>brightCyanColour</key>
|
108
|
+
<data>
|
109
|
+
BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
|
110
|
+
ZmZmg+A7YD+D4FVgP4P/PX8/AYY=
|
111
|
+
</data>
|
112
|
+
<key>brightGreenColour</key>
|
113
|
+
<data>
|
114
|
+
BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
|
115
|
+
ZmZmg881Tz8Bg6w6LD8Bhg==
|
116
|
+
</data>
|
117
|
+
<key>brightMagentaColour</key>
|
118
|
+
<data>
|
119
|
+
BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
|
120
|
+
ZmZmAYOdAR0/g/8bfz8Bhg==
|
121
|
+
</data>
|
122
|
+
<key>brightRedColour</key>
|
123
|
+
<data>
|
124
|
+
BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
|
125
|
+
ZmZmAYO3tjY/g7GwMD8Bhg==
|
126
|
+
</data>
|
127
|
+
<key>brightWhiteColour</key>
|
128
|
+
<data>
|
129
|
+
BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
|
130
|
+
ZmZmAQEBAYY=
|
131
|
+
</data>
|
132
|
+
<key>brightYellowColour</key>
|
133
|
+
<data>
|
134
|
+
BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
|
135
|
+
ZmZmAQGDzbVMPwGG
|
136
|
+
</data>
|
137
|
+
<key>columnCount</key>
|
138
|
+
<integer>140</integer>
|
139
|
+
<key>cyanColour</key>
|
140
|
+
<data>
|
141
|
+
BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
|
142
|
+
ZmZmg8fGRj+DxsVFP4P//n4/AYY=
|
143
|
+
</data>
|
144
|
+
<key>greenColour</key>
|
145
|
+
<data>
|
146
|
+
BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
|
147
|
+
ZmZmg6moKD8Bg8HAwD4Bhg==
|
148
|
+
</data>
|
149
|
+
<key>keyMapBoundKeys</key>
|
150
|
+
<dict>
|
151
|
+
<key>$F708</key>
|
152
|
+
<string>[25~</string>
|
153
|
+
<key>$F709</key>
|
154
|
+
<string>[26~</string>
|
155
|
+
<key>$F70A</key>
|
156
|
+
<string>[28~</string>
|
157
|
+
<key>$F70B</key>
|
158
|
+
<string>[29~</string>
|
159
|
+
<key>$F70C</key>
|
160
|
+
<string>[31~</string>
|
161
|
+
<key>$F70D</key>
|
162
|
+
<string>[22~</string>
|
163
|
+
<key>$F70E</key>
|
164
|
+
<string>[33~</string>
|
165
|
+
<key>$F70F</key>
|
166
|
+
<string>[34~</string>
|
167
|
+
<key>$F729</key>
|
168
|
+
<string>[H</string>
|
169
|
+
<key>$F72B</key>
|
170
|
+
<string>[F</string>
|
171
|
+
<key>$F72C</key>
|
172
|
+
<string>[5~</string>
|
173
|
+
<key>$F72D</key>
|
174
|
+
<string>[6~</string>
|
175
|
+
<key>F704</key>
|
176
|
+
<string>OP</string>
|
177
|
+
<key>F705</key>
|
178
|
+
<string>OQ</string>
|
179
|
+
<key>F706</key>
|
180
|
+
<string>OR</string>
|
181
|
+
<key>F707</key>
|
182
|
+
<string>OS</string>
|
183
|
+
<key>F708</key>
|
184
|
+
<string>[15~</string>
|
185
|
+
<key>F709</key>
|
186
|
+
<string>[17~</string>
|
187
|
+
<key>F70A</key>
|
188
|
+
<string>[18~</string>
|
189
|
+
<key>F70B</key>
|
190
|
+
<string>[19~</string>
|
191
|
+
<key>F70C</key>
|
192
|
+
<string>[20~</string>
|
193
|
+
<key>F70D</key>
|
194
|
+
<string>[21~</string>
|
195
|
+
<key>F70E</key>
|
196
|
+
<string>[23~</string>
|
197
|
+
<key>F70F</key>
|
198
|
+
<string>[24~</string>
|
199
|
+
<key>F710</key>
|
200
|
+
<string>[25~</string>
|
201
|
+
<key>F711</key>
|
202
|
+
<string>[26~</string>
|
203
|
+
<key>F712</key>
|
204
|
+
<string>[28~</string>
|
205
|
+
<key>F713</key>
|
206
|
+
<string>[29~</string>
|
207
|
+
<key>F714</key>
|
208
|
+
<string>[31~</string>
|
209
|
+
<key>F715</key>
|
210
|
+
<string>[32~</string>
|
211
|
+
<key>F716</key>
|
212
|
+
<string>[33~</string>
|
213
|
+
<key>F717</key>
|
214
|
+
<string>[34~</string>
|
215
|
+
<key>F728</key>
|
216
|
+
<string>[3~</string>
|
217
|
+
<key>F729</key>
|
218
|
+
<string></string>
|
219
|
+
<key>F72B</key>
|
220
|
+
<string></string>
|
221
|
+
<key>F72C</key>
|
222
|
+
<string>scrollPageUp:</string>
|
223
|
+
<key>F72D</key>
|
224
|
+
<string>scrollPageDown:</string>
|
225
|
+
<key>^F702</key>
|
226
|
+
<string>[5D</string>
|
227
|
+
<key>^F703</key>
|
228
|
+
<string>[5C</string>
|
229
|
+
<key>~F704</key>
|
230
|
+
<string>[17~</string>
|
231
|
+
<key>~F705</key>
|
232
|
+
<string>[18~</string>
|
233
|
+
<key>~F706</key>
|
234
|
+
<string>[19~</string>
|
235
|
+
<key>~F707</key>
|
236
|
+
<string>[20~</string>
|
237
|
+
<key>~F708</key>
|
238
|
+
<string>[21~</string>
|
239
|
+
<key>~F709</key>
|
240
|
+
<string>[23~</string>
|
241
|
+
<key>~F70A</key>
|
242
|
+
<string>[24~</string>
|
243
|
+
<key>~F70B</key>
|
244
|
+
<string>[25~</string>
|
245
|
+
<key>~F70C</key>
|
246
|
+
<string>[26~</string>
|
247
|
+
<key>~F70D</key>
|
248
|
+
<string>[28~</string>
|
249
|
+
<key>~F70E</key>
|
250
|
+
<string>[29~</string>
|
251
|
+
<key>~F70F</key>
|
252
|
+
<string>[31~</string>
|
253
|
+
<key>~F710</key>
|
254
|
+
<string>[32~</string>
|
255
|
+
<key>~F711</key>
|
256
|
+
<string>[33~</string>
|
257
|
+
<key>~F712</key>
|
258
|
+
<string>[34~</string>
|
259
|
+
</dict>
|
260
|
+
<key>magentaColour</key>
|
261
|
+
<data>
|
262
|
+
BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
|
263
|
+
ZmZmAYPn5uY+g/79fT8Bhg==
|
264
|
+
</data>
|
265
|
+
<key>name</key>
|
266
|
+
<string>IR_Black</string>
|
267
|
+
<key>redColour</key>
|
268
|
+
<data>
|
269
|
+
BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
|
270
|
+
ZmZmAYPZ2Ng+g8HAwD4Bhg==
|
271
|
+
</data>
|
272
|
+
<key>rowCount</key>
|
273
|
+
<integer>36</integer>
|
274
|
+
<key>shellExitAction</key>
|
275
|
+
<integer>1</integer>
|
276
|
+
<key>type</key>
|
277
|
+
<string>Window Settings</string>
|
278
|
+
<key>whiteColour</key>
|
279
|
+
<data>
|
280
|
+
BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
|
281
|
+
ZmZmg+/7bj+D7/tuP4Pv+24/AYY=
|
282
|
+
</data>
|
283
|
+
<key>yellowColour</key>
|
284
|
+
<data>
|
285
|
+
BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
|
286
|
+
ZmZmAQGDt7Y2PwGG
|
287
|
+
</data>
|
288
|
+
</dict>
|
289
|
+
</plist>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
#
|
2
|
+
# Cookbook Name:: utils
|
3
|
+
# Recipe:: colors
|
4
|
+
#
|
5
|
+
|
6
|
+
cookbook_file "#{ENV['HOME']}/.flombe/IR_Black.terminal" do
|
7
|
+
source "IR_Black.terminal"
|
8
|
+
end
|
9
|
+
|
10
|
+
execute "install IR_Black theme" do
|
11
|
+
command "open #{ENV['HOME']}/.flombe/IR_Black.terminal"
|
12
|
+
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
|
-
# Cookbook Name:: utils
|
3
|
-
# Recipe::
|
2
|
+
# Cookbook Name:: utils
|
3
|
+
# Recipe:: dotfiles
|
4
4
|
#
|
5
5
|
|
6
6
|
template "#{ENV['HOME']}/.flombe.profile" do
|
@@ -16,6 +16,15 @@ execute "setup flombe profile sourcing in ~/.bash_profile" do
|
|
16
16
|
not_if "grep -q 'flombe.profile' ~/.bash_profile"
|
17
17
|
end
|
18
18
|
|
19
|
-
|
20
|
-
|
19
|
+
puts node['utils::dotfiles'].inspect
|
20
|
+
|
21
|
+
template "#{ENV['HOME']}/.gitignore" do
|
22
|
+
mode 0700
|
23
|
+
owner ENV['USER']
|
24
|
+
group Etc.getgrgid(Process.gid).name
|
25
|
+
source "dot.gitignore.erb"
|
26
|
+
end
|
27
|
+
|
28
|
+
execute "set global ignore file for git" do
|
29
|
+
command "git config --global core.excludesfile ~/.gitignore"
|
21
30
|
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
#
|
2
|
+
# Cookbook Name:: utils
|
3
|
+
# Recipe:: colors
|
4
|
+
#
|
5
|
+
# Fixes the home and end keys in Mac OS X.
|
6
|
+
#
|
7
|
+
|
8
|
+
Chef::Log.info("Fixing home and end keys in Mac OS X")
|
9
|
+
|
10
|
+
directory "#{ENV['HOME']}/Library/KeyBindings" do
|
11
|
+
action :create
|
12
|
+
end
|
13
|
+
|
14
|
+
cookbook_file "#{ENV['HOME']}/Library/KeyBindings/DefaultKeyBinding.dict" do
|
15
|
+
source "DefaultKeyBinding.dict"
|
16
|
+
end
|
data/lib/flombe.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: flombe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.0.
|
5
|
+
version: 0.1.0.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Stephen Craton
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-05-
|
13
|
+
date: 2011-05-17 00:00:00 +08:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -53,6 +53,7 @@ files:
|
|
53
53
|
- LICENSE
|
54
54
|
- Rakefile
|
55
55
|
- bin/flombe
|
56
|
+
- bootstrap.sh
|
56
57
|
- config/rake.rb
|
57
58
|
- cookbooks/homebrew/README.rdoc
|
58
59
|
- cookbooks/homebrew/metadata.rb
|
@@ -68,9 +69,15 @@ files:
|
|
68
69
|
- cookbooks/redis/recipes/2.0.4.rb
|
69
70
|
- cookbooks/redis/recipes/default.rb
|
70
71
|
- cookbooks/utils/README.rdoc
|
72
|
+
- cookbooks/utils/attributes/git.rb
|
73
|
+
- cookbooks/utils/files/default/DefaultKeyBinding.dict
|
74
|
+
- cookbooks/utils/files/default/IR_Black.terminal
|
71
75
|
- cookbooks/utils/metadata.rb
|
76
|
+
- cookbooks/utils/recipes/colors.rb
|
72
77
|
- cookbooks/utils/recipes/default.rb
|
73
78
|
- cookbooks/utils/recipes/dotfiles.rb
|
79
|
+
- cookbooks/utils/recipes/keyfixer.rb
|
80
|
+
- cookbooks/utils/templates/default/dot.gitignore.erb
|
74
81
|
- cookbooks/utils/templates/default/dot.profile.erb
|
75
82
|
- flombe.gemspec
|
76
83
|
- lib/flombe.rb
|