nrser-rash 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +104 -0
  3. data/.gitmodules +4 -0
  4. data/.rspec +2 -0
  5. data/.travis.yml +4 -0
  6. data/.yardopts +7 -0
  7. data/Gemfile +10 -0
  8. data/README.md +4 -0
  9. data/Rakefile +6 -0
  10. data/bash/source-profile.sh +17 -0
  11. data/dev/bin/.gitkeep +0 -0
  12. data/dev/bin/console +33 -0
  13. data/dev/bin/rake +3 -0
  14. data/dev/bin/rash +16 -0
  15. data/dev/bin/rspec +3 -0
  16. data/dev/ref/autocomplete.rb +62 -0
  17. data/dev/scratch/apps.AppleScript +14 -0
  18. data/dev/scratch/blocks.rb +232 -0
  19. data/dev/scratch/decorating_methods.rb +18 -0
  20. data/dev/scratch/functions.sh +80 -0
  21. data/dev/scratch/if.sh +16 -0
  22. data/dev/scratch/inc.rb +3 -0
  23. data/dev/scratch/inheriting_env/main.rb +44 -0
  24. data/dev/scratch/inheriting_env/sub.rb +9 -0
  25. data/dev/scratch/load_main.rb +5 -0
  26. data/dev/scratch/load_module.rb +19 -0
  27. data/dev/scratch/lsregister-dump.txt +30165 -0
  28. data/dev/scratch/main.rb +4 -0
  29. data/dev/scratch/optparse.rb +43 -0
  30. data/dev/scratch/overridding-cd.sh +53 -0
  31. data/dev/scratch/path.sh +22 -0
  32. data/dev/scratch/pirating_methods.rb +62 -0
  33. data/dev/scratch/profile.sh +624 -0
  34. data/dev/scratch/return.sh +5 -0
  35. data/dev/scratch/source_rvm.sh +11 -0
  36. data/dev/scratch/stub-names/project/test +3 -0
  37. data/exe/rash +4 -0
  38. data/lib/nrser/rash/cli/call.rb +137 -0
  39. data/lib/nrser/rash/cli/help.rb +29 -0
  40. data/lib/nrser/rash/cli/list.rb +36 -0
  41. data/lib/nrser/rash/cli/run.rb +54 -0
  42. data/lib/nrser/rash/cli.rb +21 -0
  43. data/lib/nrser/rash/config.rb +172 -0
  44. data/lib/nrser/rash/core_ext/object.rb +55 -0
  45. data/lib/nrser/rash/formatters.rb +105 -0
  46. data/lib/nrser/rash/functions.rb +154 -0
  47. data/lib/nrser/rash/helpers.rb +53 -0
  48. data/lib/nrser/rash/testing.rb +305 -0
  49. data/lib/nrser/rash/util.rb +260 -0
  50. data/lib/nrser/rash/version.rb +17 -0
  51. data/lib/nrser/rash.rb +40 -0
  52. data/nrser-rash.gemspec +48 -0
  53. data/tmp/.gitkeep +0 -0
  54. metadata +248 -0
@@ -0,0 +1,624 @@
1
+ ##############################################################################
2
+ # rash generated function stubs
3
+ ##############################################################################
4
+ #
5
+ # Rash::Functions.applescript
6
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions.rb:5
7
+ # method: #<Method: Rash::Functions.applescript>
8
+ function applescript {
9
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call applescript "$@"
10
+ }
11
+
12
+ # Rash::Functions.blah
13
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions.rb:32
14
+ # method: #<Method: Rash::Functions.blah>
15
+ function blah {
16
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call blah "$@"
17
+ }
18
+
19
+ # Rash::Functions.serve
20
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions.rb:42
21
+ # method: #<Method: Rash::Functions.serve>
22
+ function serve {
23
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call serve "$@"
24
+ }
25
+
26
+ # Rash::Functions.ip
27
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions.rb:88
28
+ # method: #<Method: Rash::Functions.ip>
29
+ function ip {
30
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call ip "$@"
31
+ }
32
+
33
+ # Rash::Functions::Photos.blah
34
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions.rb:37
35
+ # method: #<Method: Rash::Functions::Photos.blah>
36
+ function photos__blah {
37
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Photos.blah "$@"
38
+ }
39
+
40
+ # Rash::Functions::Net.ips
41
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions.rb:57
42
+ # method: #<Method: Rash::Functions::Net.ips>
43
+ function net__ips {
44
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Net.ips "$@"
45
+ }
46
+
47
+ # Rash::Functions::Net.gateway
48
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions.rb:73
49
+ # method: #<Method: Rash::Functions::Net.gateway>
50
+ function net__gateway {
51
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Net.gateway "$@"
52
+ }
53
+
54
+ # Rash::Functions::Net.interface
55
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions.rb:77
56
+ # method: #<Method: Rash::Functions::Net.interface>
57
+ function net__interface {
58
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Net.interface "$@"
59
+ }
60
+
61
+ # Rash::Functions::Net.ip
62
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions.rb:82
63
+ # method: #<Method: Rash::Functions::Net.ip>
64
+ function net__ip {
65
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Net.ip "$@"
66
+ }
67
+
68
+ # Rash::Functions::Url.parse
69
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions.rb:93
70
+ # method: #<Method: Rash::Functions::Url.parse>
71
+ function url__parse {
72
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Url.parse "$@"
73
+ }
74
+
75
+ # Rash::Functions::Url.params
76
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions.rb:105
77
+ # method: #<Method: Rash::Functions::Url.params>
78
+ function url__params {
79
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Url.params "$@"
80
+ }
81
+
82
+ # Rash::Functions::AppleScript.eval
83
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/applescript.rb:4
84
+ # method: #<Method: Rash::Functions::AppleScript.eval>
85
+ function applescript__eval {
86
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call AppleScript.eval "$@"
87
+ }
88
+
89
+ # Rash::Functions::Chinese.pinyin
90
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/chinese.rb:19
91
+ # method: #<Method: Rash::Functions::Chinese.pinyin>
92
+ function chinese__pinyin {
93
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Chinese.pinyin "$@"
94
+ }
95
+
96
+ # Rash::Functions::Chinese::Anki.file_path
97
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/chinese/anki.rb:14
98
+ # method: #<Method: Rash::Functions::Chinese::Anki.file_path>
99
+ function chinese__anki__file_path {
100
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Chinese::Anki.file_path "$@"
101
+ }
102
+
103
+ # Rash::Functions::Chinese::Anki.fill_in_pinyin
104
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/chinese/anki.rb:41
105
+ # method: #<Method: Rash::Functions::Chinese::Anki.fill_in_pinyin>
106
+ function chinese__anki__fill_in_pinyin {
107
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Chinese::Anki.fill_in_pinyin "$@"
108
+ }
109
+
110
+ # Rash::Functions::Chinese::Anki.fill_in_pinyin_no_tones
111
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/chinese/anki.rb:58
112
+ # method: #<Method: Rash::Functions::Chinese::Anki.fill_in_pinyin_no_tones>
113
+ function chinese__anki__fill_in_pinyin_no_tones {
114
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Chinese::Anki.fill_in_pinyin_no_tones "$@"
115
+ }
116
+
117
+ # Rash::Functions::Chinese::Anki.process_lesson
118
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/chinese/anki.rb:71
119
+ # method: #<Method: Rash::Functions::Chinese::Anki.process_lesson>
120
+ function chinese__anki__process_lesson {
121
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Chinese::Anki.process_lesson "$@"
122
+ }
123
+
124
+ # Rash::Functions::Files.hidden?
125
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/files.rb:10
126
+ # method: #<Method: Rash::Functions::Files.hidden?>
127
+ function files__hidden? {
128
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Files.hidden\? "$@"
129
+ }
130
+
131
+ # Rash::Functions::Files.files
132
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/files.rb:14
133
+ # method: #<Method: Rash::Functions::Files.files>
134
+ function files__files {
135
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Files.files "$@"
136
+ }
137
+
138
+ # Rash::Functions::Files.dirs
139
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/files.rb:20
140
+ # method: #<Method: Rash::Functions::Files.dirs>
141
+ function files__dirs {
142
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Files.dirs "$@"
143
+ }
144
+
145
+ # Rash::Functions::Files.file_paths
146
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/files.rb:26
147
+ # method: #<Method: Rash::Functions::Files.file_paths>
148
+ function files__file_paths {
149
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Files.file_paths "$@"
150
+ }
151
+
152
+ # Rash::Functions::Files.rm_ds_store
153
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/files.rb:30
154
+ # method: #<Method: Rash::Functions::Files.rm_ds_store>
155
+ function files__rm_ds_store {
156
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Files.rm_ds_store "$@"
157
+ }
158
+
159
+ # Rash::Functions::Files.docs
160
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/files.rb:38
161
+ # method: #<Method: Rash::Functions::Files.docs>
162
+ function files__docs {
163
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Files.docs "$@"
164
+ }
165
+
166
+ # Rash::Functions::Files.last_mod
167
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/files.rb:59
168
+ # method: #<Method: Rash::Functions::Files.last_mod>
169
+ function files__last_mod {
170
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Files.last_mod "$@"
171
+ }
172
+
173
+ # Rash::Functions::Files.last_download
174
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/files.rb:63
175
+ # method: #<Method: Rash::Functions::Files.last_download>
176
+ function files__last_download {
177
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Files.last_download "$@"
178
+ }
179
+
180
+ # Rash::Functions::Files.move_last_download
181
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/files.rb:67
182
+ # method: #<Method: Rash::Functions::Files.move_last_download>
183
+ function files__move_last_download {
184
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Files.move_last_download "$@"
185
+ }
186
+
187
+ # Rash::Functions::Files.move_itunes_to_dropbox
188
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/files.rb:73
189
+ # method: #<Method: Rash::Functions::Files.move_itunes_to_dropbox>
190
+ function files__move_itunes_to_dropbox {
191
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Files.move_itunes_to_dropbox "$@"
192
+ }
193
+
194
+ # Rash::Functions::Markdown.toc
195
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/markdown.rb:2
196
+ # method: #<Method: Rash::Functions::Markdown.toc>
197
+ function markdown__toc {
198
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Markdown.toc "$@"
199
+ }
200
+
201
+ # Rash::Functions::Maschine.rm_todays_recording
202
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/maschine.rb:7
203
+ # method: #<Method: Rash::Functions::Maschine.rm_todays_recording>
204
+ function maschine__rm_todays_recording {
205
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Maschine.rm_todays_recording "$@"
206
+ }
207
+
208
+ # Rash::Functions::Maschine.todays_recordings
209
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/maschine.rb:11
210
+ # method: #<Method: Rash::Functions::Maschine.todays_recordings>
211
+ function maschine__todays_recordings {
212
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Maschine.todays_recordings "$@"
213
+ }
214
+
215
+ # Rash::Functions::Music.bpm_trans
216
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/music.rb:5
217
+ # method: #<Method: Rash::Functions::Music.bpm_trans>
218
+ function music__bpm_trans {
219
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Music.bpm_trans "$@"
220
+ }
221
+
222
+ # Rash::Functions::Project.dir_name
223
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/project.rb:60
224
+ # method: #<Method: Rash::Functions::Project.dir_name>
225
+ function project__dir_name {
226
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Project.dir_name "$@"
227
+ }
228
+
229
+ # Rash::Functions::Project.local_repos
230
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/project.rb:117
231
+ # method: #<Method: Rash::Functions::Project.local_repos>
232
+ function project__local_repos {
233
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Project.local_repos "$@"
234
+ }
235
+
236
+ # Rash::Functions::Project.resolve_repo
237
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/project.rb:139
238
+ # method: #<Method: Rash::Functions::Project.resolve_repo>
239
+ function project__resolve_repo {
240
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Project.resolve_repo "$@"
241
+ }
242
+
243
+ # Rash::Functions::Project.dir
244
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/project.rb:239
245
+ # method: #<Method: Rash::Functions::Project.dir>
246
+ function project__dir {
247
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Project.dir "$@"
248
+ }
249
+
250
+ # Rash::Functions::Project.start
251
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/project.rb:250
252
+ # method: #<Method: Rash::Functions::Project.start>
253
+ function project__start {
254
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Project.start "$@"
255
+ }
256
+
257
+ # Rash::Functions::Project.owner_and_name
258
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/project.rb:273
259
+ # method: #<Method: Rash::Functions::Project.owner_and_name>
260
+ function project__owner_and_name {
261
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Project.owner_and_name "$@"
262
+ }
263
+
264
+ # Rash::Functions::Project.clone
265
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/project.rb:315
266
+ # method: #<Method: Rash::Functions::Project.clone>
267
+ function project__clone {
268
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Project.clone "$@"
269
+ }
270
+
271
+ # Rash::Functions::Project.checkout_version
272
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/project.rb:335
273
+ # method: #<Method: Rash::Functions::Project.checkout_version>
274
+ function project__checkout_version {
275
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Project.checkout_version "$@"
276
+ }
277
+
278
+ # Rash::Functions::Project.open
279
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/project.rb:341
280
+ # method: #<Method: Rash::Functions::Project.open>
281
+ function project__open {
282
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Project.open "$@"
283
+ }
284
+
285
+ # Rash::Functions::Project.add_gitingore
286
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/project.rb:346
287
+ # method: #<Method: Rash::Functions::Project.add_gitingore>
288
+ function project__add_gitingore {
289
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Project.add_gitingore "$@"
290
+ }
291
+
292
+ # Rash::Functions::Project.github_url
293
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/project.rb:357
294
+ # method: #<Method: Rash::Functions::Project.github_url>
295
+ function project__github_url {
296
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Project.github_url "$@"
297
+ }
298
+
299
+ # Rash::Functions::Project.browse
300
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/project.rb:362
301
+ # method: #<Method: Rash::Functions::Project.browse>
302
+ function project__browse {
303
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Project.browse "$@"
304
+ }
305
+
306
+ # Rash::Functions::Project.gitignore
307
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/project.rb:415
308
+ # method: #<Method: Rash::Functions::Project.gitignore>
309
+ function project__gitignore {
310
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Project.gitignore "$@"
311
+ }
312
+
313
+ # Rash::Functions::Project::Ruby.start
314
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/project/ruby.rb:2
315
+ # method: #<Method: Rash::Functions::Project::Ruby.start>
316
+ function project__ruby__start {
317
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Project::Ruby.start "$@"
318
+ }
319
+
320
+ # Rash::Functions::Sublime.eval_applescript
321
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/sublime.rb:16
322
+ # method: #<Method: Rash::Functions::Sublime.eval_applescript>
323
+ function sublime__eval_applescript {
324
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Sublime.eval_applescript "$@"
325
+ }
326
+
327
+ # Rash::Functions::Sublime.open
328
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/sublime.rb:21
329
+ # method: #<Method: Rash::Functions::Sublime.open>
330
+ function sublime__open {
331
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Sublime.open "$@"
332
+ }
333
+
334
+ # Rash::Functions::Sublime.send_args
335
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/sublime.rb:100
336
+ # method: #<Method: Rash::Functions::Sublime.send_args>
337
+ function sublime__send_args {
338
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call Sublime.send_args "$@"
339
+ }
340
+
341
+ # Rash::Functions::VLC.tell
342
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:10
343
+ # method: #<Method: Rash::Functions::VLC.tell>
344
+ function vlc__tell {
345
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC.tell "$@"
346
+ }
347
+
348
+ # Rash::Functions::VLC.current_seconds
349
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:29
350
+ # method: #<Method: Rash::Functions::VLC.current_seconds>
351
+ function vlc__current_seconds {
352
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC.current_seconds "$@"
353
+ }
354
+
355
+ # Rash::Functions::VLC.current_seconds=
356
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:38
357
+ # method: #<Method: Rash::Functions::VLC.current_seconds=>
358
+ function vlc__current_seconds= {
359
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC.current_seconds\= "$@"
360
+ }
361
+
362
+ # Rash::Functions::VLC.current_file_name
363
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:46
364
+ # method: #<Method: Rash::Functions::VLC.current_file_name>
365
+ function vlc__current_file_name {
366
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC.current_file_name "$@"
367
+ }
368
+
369
+ # Rash::Functions::VLC.current_file_path
370
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:52
371
+ # method: #<Method: Rash::Functions::VLC.current_file_path>
372
+ function vlc__current_file_path {
373
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC.current_file_path "$@"
374
+ }
375
+
376
+ # Rash::Functions::VLC.stop
377
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:56
378
+ # method: #<Method: Rash::Functions::VLC.stop>
379
+ function vlc__stop {
380
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC.stop "$@"
381
+ }
382
+
383
+ # Rash::Functions::VLC.windows
384
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:60
385
+ # method: #<Method: Rash::Functions::VLC.windows>
386
+ function vlc__windows {
387
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC.windows "$@"
388
+ }
389
+
390
+ # Rash::Functions::VLC.activate
391
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:64
392
+ # method: #<Method: Rash::Functions::VLC.activate>
393
+ function vlc__activate {
394
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC.activate "$@"
395
+ }
396
+
397
+ # Rash::Functions::VLC.open
398
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:71
399
+ # method: #<Method: Rash::Functions::VLC.open>
400
+ function vlc__open {
401
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC.open "$@"
402
+ }
403
+
404
+ # Rash::Functions::VLC::Bookmarks.time_to_seconds
405
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:102
406
+ # method: #<Method: Rash::Functions::VLC::Bookmarks.time_to_seconds>
407
+ function vlc__bookmarks__time_to_seconds {
408
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC::Bookmarks.time_to_seconds "$@"
409
+ }
410
+
411
+ # Rash::Functions::VLC::Bookmarks.seconds_to_time
412
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:107
413
+ # method: #<Method: Rash::Functions::VLC::Bookmarks.seconds_to_time>
414
+ function vlc__bookmarks__seconds_to_time {
415
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC::Bookmarks.seconds_to_time "$@"
416
+ }
417
+
418
+ # Rash::Functions::VLC::Bookmarks.file_path
419
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:117
420
+ # method: #<Method: Rash::Functions::VLC::Bookmarks.file_path>
421
+ function vlc__bookmarks__file_path {
422
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC::Bookmarks.file_path "$@"
423
+ }
424
+
425
+ # Rash::Functions::VLC::Bookmarks.all
426
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:121
427
+ # method: #<Method: Rash::Functions::VLC::Bookmarks.all>
428
+ function vlc__bookmarks__all {
429
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC::Bookmarks.all "$@"
430
+ }
431
+
432
+ # Rash::Functions::VLC::Bookmarks.find_by_name
433
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:135
434
+ # method: #<Method: Rash::Functions::VLC::Bookmarks.find_by_name>
435
+ function vlc__bookmarks__find_by_name {
436
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC::Bookmarks.find_by_name "$@"
437
+ }
438
+
439
+ # Rash::Functions::VLC::Bookmarks.find_by_file_path
440
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:139
441
+ # method: #<Method: Rash::Functions::VLC::Bookmarks.find_by_file_path>
442
+ function vlc__bookmarks__find_by_file_path {
443
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC::Bookmarks.find_by_file_path "$@"
444
+ }
445
+
446
+ # Rash::Functions::VLC::Bookmarks.update
447
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:149
448
+ # method: #<Method: Rash::Functions::VLC::Bookmarks.update>
449
+ function vlc__bookmarks__update {
450
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC::Bookmarks.update "$@"
451
+ }
452
+
453
+ # Rash::Functions::VLC::Bookmarks.create
454
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:171
455
+ # method: #<Method: Rash::Functions::VLC::Bookmarks.create>
456
+ function vlc__bookmarks__create {
457
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC::Bookmarks.create "$@"
458
+ }
459
+
460
+ # Rash::Functions::VLC::Bookmarks.delete
461
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:194
462
+ # method: #<Method: Rash::Functions::VLC::Bookmarks.delete>
463
+ function vlc__bookmarks__delete {
464
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC::Bookmarks.delete "$@"
465
+ }
466
+
467
+ # Rash::Functions::VLC::Bookmarks.open
468
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:202
469
+ # method: #<Method: Rash::Functions::VLC::Bookmarks.open>
470
+ function vlc__bookmarks__open {
471
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC::Bookmarks.open "$@"
472
+ }
473
+
474
+ # Rash::Functions::VLC::Bookmarks.next
475
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:213
476
+ # method: #<Method: Rash::Functions::VLC::Bookmarks.next>
477
+ function vlc__bookmarks__next {
478
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC::Bookmarks.next "$@"
479
+ }
480
+
481
+ # Rash::Functions::VLC::Bookmarks.queue_next
482
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/functions/vlc.rb:218
483
+ # method: #<Method: Rash::Functions::VLC::Bookmarks.queue_next>
484
+ function vlc__bookmarks__queue_next {
485
+ /Users/nrser/dev/gh/nrser/rash/bin/rash call VLC::Bookmarks.queue_next "$@"
486
+ }
487
+
488
+
489
+ #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
490
+ # start loading profile at
491
+ # /Users/nrser/dev/gh/nrser/nrser.env/rash/profile.rb
492
+ #!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
493
+
494
+ ##############################################################################
495
+ # name and path shortcut vars
496
+ ##############################################################################
497
+ #
498
+ # *my* user (not necessarily `$USER`... maybe i'm logged in as `root`)
499
+ #
500
+ # i'm going to use this profile as root too so i have my aliases available and
501
+ # exeutables on the path and stuff, so i can't just base everything here
502
+ # off `USER` and `HOME`. i could hard-code everything as 'nrser', but basing
503
+ # it off a var seemed better:
504
+ export MY_USER="nrser"
505
+ # and the home dir of *my* user
506
+ export MY_HOME="/Users/nrser"
507
+ export MH="/Users/nrser"
508
+ # github's base directory
509
+ export GITHUB_HOME="/Users/nrser/dev/gh"
510
+ export GH="/Users/nrser/dev/gh"
511
+ # my github username
512
+ export GITHUB_USER="nrser"
513
+ export GHU="nrser"
514
+ # my github dir
515
+ export MY_GITHUB="/Users/nrser/dev/gh/nrser"
516
+ export MGH="/Users/nrser/dev/gh/nrser"
517
+ # the nrser.env repo's home
518
+ export ENV_REPO="/Users/nrser/dev/gh/nrser/nrser.env"
519
+
520
+ ##############################################################################
521
+ # path
522
+ ##############################################################################
523
+ #
524
+ export PATH="/Users/nrser/bin:/Users/nrser/dev/gh/nrser/nrser.env/bin:/usr/local/bin:/Users/nrser/dev/gh/nrser/rash/bin:/Users/nrser/dev/gopath/bin:/Applications/Araxis Merge.app/Contents/Utilities:/usr/bin:/bin:/usr/sbin:/sbin"
525
+
526
+ ##############################################################################
527
+ # system
528
+ ##############################################################################
529
+ #
530
+ # don't remember what this was for, some compiling shit.
531
+ # looks like postgres at least likes it:
532
+ #
533
+ # If you want to install the postgres gem, including ARCHFLAGS is recommended:
534
+ # env ARCHFLAGS="-arch x86_64" gem install pg
535
+ export ARCHFLAGS="-arch x86_64"
536
+
537
+ ##############################################################################
538
+ # aliases
539
+ ##############################################################################
540
+ #
541
+ # list
542
+ alias ll="ls -lh"
543
+ alias la="ls -lah"
544
+ alias l.="ls -lhd .*"
545
+ # assorted sys
546
+ alias df="df -h"
547
+ # python aliases
548
+ alias py.rm-pyc="find . -name \"*.pyc\" -exec rm \"{}\" \";\""
549
+ # akamai
550
+ alias ak.test-cache="curl -I -H \"Pragma: akamai-x-get-cache-key\" -H \"Pragma: akamai-x-cache-on\" -H \"Pragma: akamai-x-get-true-cache-key\" -H \"Pragma: akamai-x-check-cacheable\""
551
+ # flush DNS on OSX
552
+ alias osx.flushdns="dscacheutil -flushcache;sudo killall -HUP mDNSResponder"
553
+ # attempt to shortcut copying pinyin on the clipboard to the clipboard?
554
+ # in any event, think i wired it through Alfred without this.
555
+ alias py="Chinese.pinyin --clipboard --join=\" \""
556
+ # git diff with araxis
557
+ alias axdiff="git difftool --tool=araxis -y"
558
+ alias space="for X in {1..100}; do echo; done"
559
+
560
+ ##############################################################################
561
+ # functions
562
+ ##############################################################################
563
+ #
564
+ function cdp {
565
+ cd `rash call "Project.dir" "$@"`
566
+ }
567
+
568
+
569
+ ##############################################################################
570
+ # araxis merge
571
+ ##############################################################################
572
+ #
573
+ export PATH="/Applications/Araxis Merge.app/Contents/Utilities:/Users/nrser/bin:/Users/nrser/dev/gh/nrser/nrser.env/bin:/usr/local/bin:/Users/nrser/dev/gh/nrser/rash/bin:/Users/nrser/dev/gopath/bin:/usr/bin:/bin:/usr/sbin:/sbin"
574
+
575
+ ##############################################################################
576
+ # go
577
+ ##############################################################################
578
+ #
579
+ export GOPATH="/Users/nrser/dev/gopath"
580
+ export PATH="/Users/nrser/dev/gopath/bin:/Applications/Araxis Merge.app/Contents/Utilities:/Users/nrser/bin:/Users/nrser/dev/gh/nrser/nrser.env/bin:/usr/local/bin:/Users/nrser/dev/gh/nrser/rash/bin:/usr/bin:/bin:/usr/sbin:/sbin"
581
+
582
+ ##############################################################################
583
+ # rvm
584
+ ##############################################################################
585
+ #
586
+ # skipped
587
+
588
+ ##############################################################################
589
+ # virtual env wrapper
590
+ ##############################################################################
591
+ #
592
+ # skipped
593
+
594
+ ##############################################################################
595
+ # clojure
596
+ ##############################################################################
597
+ #
598
+ # skipped
599
+
600
+ ##############################################################################
601
+ # photoshop
602
+ ##############################################################################
603
+ #
604
+ # setup a photoshop shortcut
605
+ alias photoshop="open -a \"Adobe Photoshop CS6\""
606
+
607
+ ##############################################################################
608
+ # git
609
+ ##############################################################################
610
+ #
611
+ # skipped
612
+
613
+ ##############################################################################
614
+ # homebrew
615
+ ##############################################################################
616
+ #
617
+ export HOMEBREW_GITHUB_API_TOKEN="6e35c7569bc3c6af885b478909c96dcca2a6e583"
618
+
619
+ ##############################################################################
620
+ # perlbrew
621
+ ##############################################################################
622
+ #
623
+ # skipped
624
+
@@ -0,0 +1,5 @@
1
+ #!/bin/bash
2
+
3
+ f () { return 1; }
4
+ f
5
+ exit $?
@@ -0,0 +1,11 @@
1
+ # trying to figure out why this script isn't working when i load it through
2
+ # `profile.rb`...
3
+ #
4
+ # first, try sourcing this file from `.bash_profile` and see if it works...
5
+ # [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
6
+ # ok, it does work.
7
+
8
+ # maybe the problem is with the `eval` call?
9
+ SRC="source $HOME/.rvm/scripts/rvm"
10
+ eval $SRC
11
+ # no, even that seems to work :/
@@ -0,0 +1,3 @@
1
+ #!/bin/bash
2
+
3
+ echo 'tested!!!'
data/exe/rash ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'nrser/rash'
4
+ NRSER::Rash::CLI::run