-
Notifications
You must be signed in to change notification settings - Fork 18
/
rules.yaml
1135 lines (1042 loc) · 26.6 KB
/
rules.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
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
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
version: 1
rules:
- name: abook
description: ""
dotfile:
name: .abook
is_dir: true
actions:
# guesswork
- type: migrate
source: ${HOME}/.abook/abookrc
dest: ${XDG_CONFIG_HOME}/abook/abookrc
- type: migrate
source: ${HOME}/.abook/addressbook
dest: ${XDG_DATA_HOME}/abook/addressbook
- type: alias
alias: abook
command: abook --config "$XDG_CONFIG_HOME"/abook/abookrc --datafile "$XDG_DATA_HOME"/abook/addressbook
- name: ack
dotfile:
name: .ackrc
actions:
- type: migrate
source: ${HOME}/.ackrc
dest: ${XDG_CONFIG_HOME}/ack/ackrc
- type: export
key: ACKRC
value: ${XDG_CONFIG_HOME}/ack/ackrc
- name: alsa
dotfile:
name: .asoundrc
notes:
- xdg support was added in alsa v1.2.3. Check alsa's version with 'alsactl --version'.
actions:
- type: migrate
source: ${HOME}/.asoundrc
dest: ${XDG_CONFIG_HOME}/alsa/asoundrc
- name: aspell
dotfile:
name: .aspell.conf
actions:
- type: migrate
source: ${HOME}/.aspell.conf
dest: ${XDG_CONFIG_HOME}/aspell/aspell.conf
- type: export
key: ASPELL_CONF
value: per-conf ${XDG_CONFIG_HOME}/aspell/aspell.conf; personal ${XDG_CONFIG_HOME}/aspell/en.pws; repl ${XDG_CONFIG_HOME}/aspell/en.prepl
- name: atom
dotfile:
name: .atom
is_dir: true
actions:
- type: migrate
source: ${HOME}/.atom
dest: ${XDG_CONFIG_HOME}/atom
- type: export
key: ATOM_HOME
value: ${XDG_CONFIG_HOME}/atom
- name: aria2_dir
description: aria2 download utility config and cache dir
dotfile:
name: .aria2
is_dir: true
actions:
- type: migrate
source: ${HOME}/.aria2/aria.conf
dest: ${XDG_CONFIG_HOME}/aria2/aria2.conf
- type: migrate
source: ${HOME}/.aria2/dht.dat
dest: ${XDG_CACHE_HOME}/aria2/dht.dat
- type: delete
path: ${HOME}/.aria2
- name: aws-cli
dotfile:
name: .aws
is_dir: true
actions:
- type: migrate
source: ${HOME}/.aws
dest: ${XDG_CONFIG_HOME}/aws
- type: export
key: AWS_SHARED_CREDENTIALS_FILE
value: ${XDG_CONFIG_HOME}/aws/credentials
- type: export
key: AWS_CONFIG_FILE
value: ${XDG_CONFIG_HOME}/aws/config
- name: bash_completion
dotfile:
name: .bash_completion
actions:
- type: migrate
source: ${HOME}/.bash_completion
dest: ${XDG_CONFIG_HOME}/bash-completion/bash_completion
- type: export
key: BASH_COMPLETION_USER_FILE
value: ${XDG_CONFIG_HOME}/bash-completion/bash_completion
- name: bash_history
dotfile:
name: .bash_history
actions:
- type: migrate
source: ${HOME}/.bash_history
dest: ${XDG_CACHE_HOME}/bash/history
- type: export
key: HISTFILE
value: ${XDG_CACHE_HOME}/bash/history
- name: cargo_home
description: Rust Cargo home dir
dotfile:
name: .cargo
is_dir: true
actions:
- type: migrate
source: ${HOME}/.cargo
dest: ${XDG_DATA_HOME}/cargo
- type: export
key: CARGO_HOME
value: ${XDG_DATA_HOME}/cargo
- name: ccache
description: ccache cache dir
dotfile:
name: .ccache
is_dir: true
actions:
- type: migrate
source: ${HOME}/.ccache
dest: ${XDG_CACHE_HOME}/ccache
- type: export
key: CCACHE_DIR
value: ${XDG_CACHE_HOME}/ccache
- name: conky
dotfile:
name: .conkyrc
actions:
- type: migrate
source: ${HOME}/.conkyrc
dest: ${XDG_CONFIG_HOME}/conky/conkyrc
- type: alias
alias: conky
command: conky --config "$XDG_CONFIG_HOME"/conky/conkyrc
- name: claws-mail
dotfile:
name: ~/.claws-mail
is_dir: true
actions:
- type: migrate
source: ${HOME}/.claws-mail
dest: ${XDG_DATA_HOME}/claws-mail
- type: alias
alias: claws-mail
command: claws-mail --alternate-config-dir "$XDG_DATA_HOME/claws-mail"
- name: crawl
dotfile:
name: .crawl
is_dir: true
actions:
- type: migrate
source: ${HOME}/.crawl
dest: ${XDG_DATA_HOME}/crawl
- type: export
key: CRAWL_DIR
value: ${XDG_DATA_HOME}/crawl/
- name: cuda
# guesswork
dotfile:
name: .nv
is_dir: true
actions:
- type: migrate
source: ${HOME}/.nv
dest: ${XDG_CACHE_HOME}/nv
- type: export
key: CUDA_CACHE_PATH
value: ${XDG_CACHE_HOME}/nv
- type: export
key: __GL_SHADER_DISK_CACHE_PATH
value: ${XDG_CACHE_HOME}/nv
- name: cqlsh
description: CQL Shell for Apache Cassandra
dotfile:
name: .cassandra
is_dir: true
actions:
- type: migrate
source: ${HOME}/.cassandra/cqlshrc
dest: ${XDG_CONFIG_HOME}/cassandra/cqlshrc
- type: alias
alias: cqlsh
command: cqlsh --cqlshrc $XDG_CONFIG_HOME/cassandra/cqlshrc
- type: migrate
source: ${HOME}/.cassandra/cqlsh_history
dest: ${XDG_CACHE_HOME}/cassandra/cqlsh_history
- type: export
key: CQL_HISTORY
value: ${XDG_CACHE_HOME}/cassandra/cqlsh_history
- name: docker
dotfile:
name: .docker
is_dir: true
actions:
- type: migrate
source: ${HOME}/.docker
dest: ${XDG_CONFIG_HOME}/docker
- type: export
key: DOCKER_CONFIG
value: ${XDG_CONFIG_HOME}/docker
- name: electrum
dotfile:
name: .electrum
is_dir: true
actions:
- type: migrate
source: ${HOME}/.electrum
dest: ${XDG_DATA_HOME}/electrum
- type: export
key: ELECTRUMDIR
value: ${XDG_DATA_HOME}/electrum
- name: elinks
dotfile:
name: .elinks
is_dir: true
actions:
- type: migrate
source: ${HOME}/.elinks
dest: ${XDG_CONFIG_HOME}/elinks
- type: export
key: ELINKS_CONFDIR
value: ${XDG_CONFIG_HOME}/elinks
- name: fontconfig
dotfile:
name: .fontconfig
is_dir: true
actions:
- type: migrate
source: ${HOME}/.fontconfig
dest: ${XDG_DATA_HOME}/fontconfig
- name: fonts
dotfile:
name: .fonts
is_dir: true
actions:
- type: migrate
source: ${HOME}/.fonts
dest: ${XDG_DATA_HOME}/fonts
- name: gdb-init
dotfile:
name: .gdbinit
actions:
- type: migrate
source: ${HOME}/.gdbinit
dest: ${XDG_CONFIG_HOME}/gdb/init
- type: alias
alias: gdb
command: gdb -n -x $XDG_CONFIG_HOME/gdb/init
- name: gem
dotfile:
name: .gem
is_dir: true
actions:
- type: migrate
source: ${HOME}/.gem/ruby
dest: ${XDG_CONFIG_HOME}/gem
- type: export
key: GEM_HOME
value: ${XDG_DATA_HOME}/gem
- type: migrate
source: ${HOME}/.gem/specs
dest: ${XDG_CACHE_HOME}/gem
- type: export
key: GEM_SPEC_CACHE
value: ${XDG_CACHE_HOME}/gem
- name: gitconfig
dotfile:
name: .gitconfig
actions:
- type: migrate
source: ${HOME}/.gitconfig
dest: ${XDG_CONFIG_HOME}/git/config
- name: gnupg
dotfile:
name: .gnupg
is_dir: true
notes:
- You may have to restart gpg-agent with 'gpgconf --kill gpg-agent'
actions:
- type: migrate
source: ${HOME}/.gnupg
dest: ${XDG_DATA_HOME}/gnupg
- type: export
key: GNUPGHOME
value: ${XDG_DATA_HOME}/gnupg
- name: gtk1
dotfile:
name: .gtkrc
actions:
- type: migrate
source: ${HOME}/.gtkrc
dest: ${XDG_CONFIG_HOME}/gtk-1.0/gtkrc
- type: export
key: GTK_RC_FILES
value: ${XDG_CONFIG_HOME}/gtk-1.0/gtkrc
- name: gtk2
dotfile:
name: .gtkrc-2.0
actions:
- type: migrate
source: ${HOME}/.gtkrc-2.0
dest: ${XDG_CONFIG_HOME}/gtk-2.0/gtkrc
- type: export
key: GTK2_RC_FILES
value: ${XDG_CONFIG_HOME}/gtk-2.0/gtkrc
- name: gradle
dotfile:
name: .gradle
is_dir: true
actions:
- type: migrate
source: ${HOME}/.gradle
dest: ${XDG_DATA_HOME}/gradle
- type: export
key: GRADLE_USER_HOME
value: ${XDG_DATA_HOME}/gradle
- name: hledger
dotfile:
name: .hledger.journal
actions:
- type: migrate
source: ${HOME}/.hledger.journal
dest: ${XDG_DATA_HOME}/hledger/journal
- type: export
key: LEDGER_FILE
value: ${XDG_DATA_HOME}/hledger/journal
- name: httpie
dotfile:
name: .httpie
is_dir: true
actions:
- type: migrate
source: ${HOME}/.httpie
dest: ${XDG_CONFIG_HOME}/httpie
- name: imapfilter
dotfile:
name: .imapfilter
is_dir: true
actions:
- type: migrate
source: ${HOME}/.imapfilter
dest: ${XDG_CONFIG_HOME}/imapfilter
- type: export
key: IMAPFILTER_HOME
value: ${XDG_CONFIG_HOME}/imapfilter
- name: ipython
dotfile:
name: .ipython
is_dir: true
actions:
- type: migrate
source: ${HOME}/.ipython
dest: ${XDG_CONFIG_HOME}/ipython
- name: irssi
dotfile:
name: .irssi
is_dir: true
actions:
- type: migrate
source: ${HOME}/.irssi
dest: ${XDG_CONFIG_HOME}/irssi
- type: alias
alias: irssi
command: irssi --home ${XDG_CONFIG_HOME}/irssi
- name: isync
dotfile:
name: .mbsyncrc
actions:
- type: migrate
source: ${HOME}/.mbsyncrc
dest: ${XDG_CONFIG_HOME}/isync/mbsyncrc
- type: alias
alias: mbsync
command: mbsync -c ${XDG_CONFIG_HOME}/isync/mbsyncrc
- name: k9s
dotfile:
name: .k9s
is_dir: true
actions:
- type: migrate
source: ${HOME}/.k9s
dest: ${XDG_CONFIG_HOME}/k9s
- type: export
key: K9SCONFIG
value: ${XDG_CONFIG_HOME}/k9s
- name: kde
dotfile:
name: .kde
is_dir: true
actions:
- type: migrate
source: ${HOME}/.kde
dest: ${XDG_CONFIG_HOME}/kde
- type: export
key: KDEHOME
value: ${XDG_CONFIG_HOME}/kde
- name: lein
dotfile:
name: .lein
is_dir: true
actions:
- type: migrate
source: ${HOME}/.lein
dest: ${XDG_DATA_HOME}/lein
- type: export
key: LEIN_HOME
value: ${XDG_DATA_HOME}/lein
- name: less
dotfile:
name: .lesshst
actions:
- type: migrate
source: ${HOME}/.lesshst
dest: ${XDG_CACHE_HOME}/less/history
- type: export
key: LESSHISTFILE
value: ${XDG_CACHE_HOME}/less/history
- type: export
key: LESSKEY
value: ${XDG_CONFIG_HOME}/less/lesskey
- name: libx11-xcompose
dotfile:
name: .XCompose
actions:
- type: migrate
source: ${HOME}/.XCompose
dest: ${XDG_CONFIG_HOME}/X11/xcompose
- type: export
key: XCOMPOSEFILE
value: ${XDG_CONFIG_HOME}/X11/xcompose
- name: libx11-xcompose-cache
dotfile:
name: .compose-cache
actions:
- type: migrate
source: ${HOME}/.compose-cache
dest: ${XDG_CACHE_HOME}/X11/xcompose
- type: export
key: XCOMPOSECACHE
value: ${XDG_CACHE_HOME}/X11/xcompose
- name: lnav
dotfile:
name: .lnav
is_dir: true
actions:
- type: migrate
source: ${HOME}/.lnav
dest: ${XDG_CONFIG_HOME}/lnav
- name: ltrace
dotfile:
name: .ltrace.conf
actions:
- type: migrate
source: ${HOME}/.ltrace.conf
dest: ${XDG_CONFIG_HOME}/ltrace/ltrace.conf
- type: alias
alias: ltrace
command: ltrace -F "$XDG_CONFIG_HOME"/ltrace/ltrace.conf
- name: mapscii
dotfile:
name: .mapscii
is_dir: true
actions:
- type: migrate
source: ${HOME}/.mapscii
dest: ${XDG_CACHE_HOME}/mapscii
- name: mathematica
dotfile:
name: .Mathematica
is_dir: true
actions:
- type: migrate
source: ${HOME}/.Mathematica
dest: ${XDG_CONFIG_HOME}/mathematica
- type: export
key: MATHEMATICA_USERBASE
value: ${XDG_CONFIG_HOME}/mathematica
- name: maxima
dotfile:
name: .maxima
is_dir: true
actions:
- type: migrate
source: ${HOME}/.maxima
dest: ${XDG_CONFIG_HOME}/maxima
- type: export
key: MAXIMA_USERDIR
value: ${XDG_CONFIG_HOME}/maxima
- name: mednafen
dotfile:
name: .mednafen
is_dir: true
actions:
- type: migrate
source: ${HOME}/.mednafen
dest: ${XDG_CONFIG_HOME}/mednafen
- type: export
key: MEDNAFEN_HOME
value: ${XDG_CONFIG_HOME}/mednafen
- name: mitmproxy
dotfile:
name: .mitmproxy
is_dir: true
actions:
- type: migrate
source: ${HOME}/.mitmproxy
dest: ${XDG_CONFIG_HOME}/mitmproxy
- type: alias
alias: mitmproxy
command: mitmproxy --set confdir=${XDG_CONFIG_HOME}/mitmproxy
- type: alias
alias: mitmweb
command: mitmweb --set confdir=${XDG_CONFIG_HOME}/mitmproxy
- name: monero
dotfile:
name: .bitmonero
is_dir: true
actions:
- type: migrate
source: ${HOME}/.bitmonero
dest: ${XDG_DATA_HOME}/bitmonero
- type: alias
alias: monerod
command: monerod --data-dir ${XDG_DATA_HOME}/bitmonero
- name: most
dotfile:
name: .mostrc
actions:
- type: migrate
source: ${HOME}/.mostrc
dest: ${XDG_CONFIG_HOME}/most/mostrc
- type: export
key: MOST_INITFILE
value: ${XDG_CONFIG_HOME}/most/mostrc
- name: mplayer
dotfile:
name: .mplayer
is_dir: true
actions:
- type: migrate
source: ${HOME}/.mplayer
dest: ${XDG_CONFIG_HOME}/mplayer
- type: export
key: MPLAYER_HOME
value: ${XDG_CONFIG_HOME}/mplayer
- name: myclirc
dotfile:
name: .myclirc
actions:
- type: migrate
source: ${HOME}/.myclirc
dest: ${XDG_CONFIG_HOME}/mycli/myclirc
- name: mycli-history
dotfile:
name: .mycli-history
actions:
- type: migrate
source: ${HOME}/.mycli-history
dest: ${XDG_DATA_HOME}/mycli/history
- type: export
key: MYCLI_HISTFILE
value: ${XDG_DATA_HOME}/mycli/history
- name: mysql_history
dotfile:
name: .mysql_history
actions:
- type: migrate
source: ${HOME}/.mysql_history
dest: ${XDG_DATA_HOME}/mysql_history
- type: export
key: MYSQL_HISTFILE
value: ${XDG_DATA_HOME}/mysql_history
- name: ncurses
dotfile:
name: .terminfo
is_dir: true
actions:
- type: migrate
source: ${HOME}/.terminfo
dest: ${XDG_DATA_HOME}/terminfo
- type: export
key: TERMINFO
value: ${XDG_DATA_HOME}/terminfo
- type: export
key: TERMINFO_DIRS
value: ${XDG_DATA_HOME}/terminfo:/usr/share/terminfo
- name: ncmpc
dotfile:
name: .ncmpc
actions:
- type: migrate
source: ${HOME}/.ncmpc
dest: ${XDG_CONFIG_HOME}/ncmpc/config
- type: alias
alias: ncmpc
command: ncmpc -f ${XDG_CONFIG_HOME}/ncmpc/config
- name: netbeans
dotfile:
name: .netbeans
is_dir: true
actions:
- type: migrate
source: ${HOME}/.netbeans
dest: ${XDG_CONFIG_HOME}/netbeans
- type: alias
alias: netbeans
command: netbeans --userdir ${XDG_CONFIG_HOME}/ncmpc/config
- name: node_repl_history
dotfile:
name: .node_repl_history
actions:
- type: migrate
source: ${HOME}/.node_repl_history
dest: ${XDG_CACHE_HOME}/node_repl_history
- type: export
key: NODE_REPL_HISTORY
value: ${XDG_CACHE_HOME}/node_repl_history
- name: npm
dotfile:
name: .npm
is_dir: true
actions:
- type: migrate
source: ${HOME}/.npm
dest: ${XDG_CACHE_HOME}/npm
- type: export
key: npm_config_cache
value: ${XDG_CACHE_HOME}/npm
- name: npmrc
dotfile:
name: .npmrc
actions:
- type: migrate
source: ${HOME}/.npmrc
dest: ${XDG_CONFIG_HOME}/npm/npmrc
- type: export
key: NPM_CONFIG_USERCONFIG
value: ${XDG_CONFIG_HOME}/npm/npmrc
- name: nvidia-settings
dotfile:
name: .nvidia-settings-rc
actions:
- type: migrate
source: ${HOME}/.nvidia-settings-rc
dest: ${XDG_CONFIG_HOME}/nvidia/settings
- type: alias
alias: nvidia-settings
command: nvidia-settings --config=${XDG_CONFIG_HOME}/nvidia/settings
- name: nvm
dotfile:
name: .nvm
is_dir: true
actions:
- type: migrate
source: ${HOME}/.nvm
dest: ${XDG_DATA_HOME}/nvm
- type: export
key: NVM_DIR
value: ${XDG_DATA_HOME}/nvm
- name: parallel
dotfile:
name: .parallel
is_dir: true
actions:
- type: migrate
source: ${HOME}/.parallel
dest: ${XDG_CONFIG_HOME}/parallel
- type: export
key: PARALLEL_HOME
value: ${XDG_CONFIG_HOME}/parallel
- name: pass
dotfile:
name: .password-store
is_dir: true
actions:
- type: migrate
source: ${HOME}/.password-store
dest: ${XDG_DATA_HOME}/pass
- type: export
key: PASSWORD_STORE_DIR
value: ${XDG_DATA_HOME}/pass
- name: pex
dotfile:
name: .pex
is_dir: true
actions:
- type: migrate
source: ${HOME}/.pex
dest: ${XDG_CACHE_HOME}/pex
- type: export
key: PEX_ROOT
value: ${XDG_CACHE_HOME}/pex
- name: setuptools
dotfile:
name: .python-eggs
is_dir: true
actions:
- type: migrate
source: ${HOME}/.python-eggs
dest: ${XDG_CACHE_HOME}/python-eggs
- type: export
key: PYTHON_EGG_CACHE
value: ${XDG_CACHE_HOME}/python-eggs
- name: pylint
dotfile:
name: .pylint.d
is_dir: true
actions:
- type: migrate
source: ${HOME}/.pylint.d
dest: ${XDG_CACHE_HOME}/pylint
- type: export
key: PYLINTHOME
value: ${XDG_CACHE_HOME}/pylint
- name: racket
dotfile:
name: .racket
is_dir: true
actions:
- type: migrate
source: ${HOME}/.racket
dest: ${XDG_CONFIG_HOME}/racket
- name: readline
dotfile:
name: .inputrc
actions:
- type: migrate
source: ${HOME}/.inputrc
dest: ${XDG_CONFIG_HOME}/readline/inputrc
- type: export
key: INPUTRC
value: ${XDG_CONFIG_HOME}/readline/inputrc
- name: redisclirc
description: redis client configuration file
dotfile:
name: .redisclirc
actions:
- type: migrate
source: ${HOME}/.redisclirc
dest: ${XDG_CONFIG_HOME}/redis/redisclirc
- type: export
key: REDISCLI_RCFILE
value: ${XDG_CONFIG_HOME}/redis/redisclirc
- name: rediscli_history
description: redis client history file
dotfile:
name: .rediscli_history
actions:
- type: migrate
source: ${HOME}/.rediscli_history
dest: ${XDG_DATA_HOME}/redis/rediscli_history
- type: export
key: REDISCLI_HISTFILE
value: ${XDG_DATA_HOME}/redis/rediscli_history
- name: rustup
dotfile:
name: .rustup
is_dir: true
actions:
- type: migrate
source: ${HOME}/.rustup
dest: ${XDG_DATA_HOME}/rustup
- type: export
key: RUSTUP_HOME
value: ${XDG_DATA_HOME}/rustup
- name: screen
dotfile:
name: .screenrc
actions:
- type: migrate
source: ${HOME}/.screenrc
dest: ${XDG_CONFIG_HOME}/screen/screenrc
- type: export
key: SCREENRC
value: ${XDG_CONFIG_HOME}/screen/screenrc
- name: simplescreenrecorder
dotfile:
name: .ssr
is_dir: true
actions:
- type: migrate
source: ${HOME}/.ssr
dest: ${XDG_DATA_HOME}/.simplescreenrecorder
- name: stack
dotfile:
name: .stack
is_dir: true
actions:
- type: migrate
source: ${HOME}/.stack
dest: ${XDG_DATA_HOME}/stack
- type: export
key: STACK_ROOT
value: ${XDG_DATA_HOME}/stack
- name: task
dotfile:
name: .task
is_dir: true
actions:
- type: migrate
source: ${HOME}/.task
dest: ${XDG_DATA_HOME}/task
- type: export
key: TASKDATA
value: ${XDG_DATA_HOME}/task
- name: taskrc
dotfile:
name: .taskrc
actions:
- type: migrate
source: ${HOME}/.taskrc
dest: ${XDG_CONFIG_HOME}/task/taskrc
- type: export
key: TASKRC
value: ${XDG_CONFIG_HOME}/task/taskrc
- name: tig-history
description: tig git explorer history file
dotfile:
name: .tig_history
actions:
- type: migrate
source: ${HOME}/.tig_history
dest: ${XDG_DATA_HOME}/tig/history
- name: uncrustify
dotfile:
name: .uncrustify.cfg
actions:
- type: migrate
source: ${HOME}/.uncrustify.cfg
dest: ${XDG_CONFIG_HOME}/uncrustify/uncrustify.cfg
- type: export
key: UNCRUSTIFY_CONFIG
value: ${XDG_CONFIG_HOME}/uncrustify/uncrustify.cfg
- name: unison
dotfile:
name: .unison
actions:
- type: migrate
source: ${HOME}/.unison
dest: ${XDG_DATA_HOME}/unison
- type: export
key: UNISON
value: ${XDG_DATA_HOME}/unison
- name: weechat
dotfile:
name: .weechat
is_dir: true
actions:
- type: migrate
source: ${HOME}/.weechat
dest: ${XDG_CONFIG_HOME}/weechat
- type: export
key: WEECHAT_HOME
value: ${XDG_CONFIG_HOME}/weechat
- type: alias
alias: weechat
command: weechat -d ${XDG_CONFIG_HOME}/weechat
- name: yarn
dotfile:
name: .yarn
is_dir: true
actions:
- type: migrate
source: ${HOME}/.yarn/link
dest: ${XDG_DATA_HOME}/yarn/link
- type: migrate
source: ${HOME}/.yarn/global
dest: ${XDG_DATA_HOME}/yarn/global
- type: migrate
source: ${HOME}/.yarn/config
dest: ${XDG_CONFIG_HOME}/yarn/config
- type: delete
path: ${HOME}/.yarn
- name: yarnrc
dotfile:
name: .yarnrc
actions:
- type: migrate
source: ${HOME}/.yarnrc
dest: ${XDG_CONFIG_HOME}/yarn/config
- name: qrcp
dotfile:
name: .qrcp
actions:
- type: migrate
source: ${HOME}/.qrcp
dest: ${XDG_CONFIG_HOME}/qrcp/config.json
- name: cabal
dotfile:
name: .cabal
is_dir: true
actions:
- type: migrate
source: ${HOME}/.cabal/config
dest: ${XDG_CONFIG_HOME}/cabal/config
- type: migrate
source: ${HOME}/.cabal/
dest: ${XDG_CACHE_HOME}/cabal/
- type: export
key: CABAL_CONFIG
value: ${XDG_CONFIG_HOME}/cabal/config
- type: export
key: CABAL_DIR
value: ${XDG_CACHE_HOME}/cabal/
- name: opam
dotfile:
name: .opam
is_dir: true
actions:
- type: migrate
source: ${HOME}/.opam
dest: ${XDG_DATA_HOME}/opam