blob: 3e879ead92f10909bbc84f0713df6fab4466735f (
plain) (
blame)
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
|
#+title: rc.org
#+property: header-args :comments link :mkdirp yes :results silent
* About
This org file contains the configuration files of pretty much every
program I use. The files are tangled (i.e. exported, or derived) from
this file using =org-babel=.
Note: This file is best viewed inside Emacs with org mode.
* Configs
** =git=
*** gitconfig
:PROPERTIES:
:header-args+: :tangle ~/.gitconfig
:END:
**** user
#+begin_src conf
[user]
name = Amin Bandali
email = amin@aminb.org
# signingkey = 4E05246AB0BF7FFB
#+end_src
**** signing
#+begin_src conf
# [commit]
# gpgsign = true
# [format]
# signoff = true
#+end_src
**** core
#+begin_src conf
[core]
autocrlf = input # CRLF -> LF on commit
editor = emacsclient -t
excludesfile = ~/.gitignore_global
pager = "less"
#+end_src
**** gpg
#+begin_src conf
[gpg]
program = gpg2
#+end_src
**** alias
#+begin_src conf
[alias]
git = !exec git # handle nested git calls, e.g. git git status
aliases = config --get-regexp '^alias\\.'
a = add
s = status
sl = status --long
c = checkout
cb = checkout -b
b = branch
r = rebase
p = pull
pr = pull --rebase
ps = push
psf = push --force
#+end_src
**** color
#+begin_src conf
[color]
ui = auto
[color "status"]
added = green bold
changed = red bold
untracked = red bold
[color "branch"]
current = green bold
remote = magenta bold
[color "diff"]
new = green bold
old = red bold
#+end_src
**** status
#+begin_src conf
[status]
# showUntrackedFiles = all
short=true
branch=true
#+end_src
**** github
#+begin_src conf
[github]
user = aminb
#+end_src
*** gitignore
:PROPERTIES:
:header-args+: :tangle ~/.gitignore_global
:END:
#+begin_src conf
*.orig
*.py[co]
*.sublime-workspace
*~
.DS_Store
*.elc
*-autoloads.el
#+end_src
|