~tardypad/dotfiles

ref: 7dd5e02494e2821ff6b4fd5758a590ef03b5403b dotfiles/packages/git/config.d/general -rw-r--r-- 1.2 KiB
7dd5e024 — Damien Tardy-Panis add mako package config 3 years ago
                                                                                
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
[user]
    name = Damien Tardy-Panis
    email = damien@tardypad.me
[url "tardypad:~/damien.git/"]
    insteadOf = perso:
[url "tardypad:~/damien.old/"]
    insteadOf = perso_old:
[url "github:"]
    insteadOf = gh:
[url "github:tardypad/"]
    insteadOf = gh_perso:
[browse "gh"]
    repoPathSed = "s|.*:\\(.*\\)|\\1|"
    repoUrl = https://www.github.com/{repo_path}
    commitUrl = https://www.github.com/{repo_path}/commit/{commit_id}
    issueUrl = https://www.github.com/{repo_path}/issues/{issue_id}
[browse "gh_perso"]
    repoPathSed = "s|.*:\\(.*\\)|tardypad/\\1|"
    repoUrl = https://www.github.com/{repo_path}
    commitUrl = https://www.github.com/{repo_path}/commit/{commit_id}
    issueUrl = https://www.github.com/{repo_path}/issues/{issue_id}
[init]
    templatedir = ~/.config/git/template
[push]
    default = upstream
[log]
    decorate = false
[core]
    # LESS default options apparently break the display
    # so we redefine needed options here
    pager = /usr/share/git/diff-highlight/diff-highlight \
        | less \
          --ignore-case \
          --line-numbers \
          --chop-long-lines \
          --RAW-CONTROL-CHARS \
          --no-init \
          --quit-if-one-screen \
          --tabs=4