configs  Check-in [ac6df3c466]

Overview
Comment:Make Git use XDG basedir
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ac6df3c466f5237d9ad0cc7640d47ee8d8707979c087cabdbadd83d3606390bb
User & Date: js 2020-02-26 21:18:36
Context
2020-02-26
21:30
Make GPG use XDG basedir - somewhat check-in: 846423356a user: js tags: trunk
21:18
Make Git use XDG basedir check-in: ac6df3c466 user: js tags: trunk
21:10
Make vim use XDG basedir check-in: d283b9b7bc user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to create_symlinks.sh.

8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
		ln -s "$3$rel_dir/$1" "$HOME/$2"
	else
		echo "$HOME/$2 already exists, skipping…"
	fi
}

mkdir -p $HOME/.config
which git >/dev/null 2>&1 && link_file gitconfig .gitconfig
if which gpg >/dev/null 2>&1 || which gpg2 >/dev/null 2>&1; then
	mkdir -p $HOME/.gnupg
	link_file gpg.conf .gnupg/gpg.conf ../
fi
which tmux >/dev/null 2>&1 && link_file tmux.conf .tmux.conf
which vim >/dev/null 2>&1 && link_file vim .config/vim ../
which fish >/dev/null 2>&1 && link_file fish .config/fish ../







|







8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
		ln -s "$3$rel_dir/$1" "$HOME/$2"
	else
		echo "$HOME/$2 already exists, skipping…"
	fi
}

mkdir -p $HOME/.config
which git >/dev/null 2>&1 && link_file git .config/git ../
if which gpg >/dev/null 2>&1 || which gpg2 >/dev/null 2>&1; then
	mkdir -p $HOME/.gnupg
	link_file gpg.conf .gnupg/gpg.conf ../
fi
which tmux >/dev/null 2>&1 && link_file tmux.conf .tmux.conf
which vim >/dev/null 2>&1 && link_file vim .config/vim ../
which fish >/dev/null 2>&1 && link_file fish .config/fish ../

Added git/config.











































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
[user]
	name = Jonathan Schleifer
	email = js@nil.im
	signingkey = 30E6948FAC8042B58CB4A96EE2BCCE6B35E1AF8B

[color]
	ui = auto
	interactive = auto

[alias]
	ci = commit -S
	co = checkout
	d = diff
	ds = diff --staged
	server = daemon --reuseaddr --verbose --base-path=. --export-all ./.git
	slog = log --show-signature
	sshow = show --show-signature
	st = status -s

[format]
	signature = Jonathan

[core]
	editor = vim

[push]
	default = matching

[gpg]
	program = gpg2

[url "git@github.com:"]
	insteadOf = https://github.com/
	pushInsteadOf = https://github.com/

[fetch]
	fsckObjects = true

Deleted gitconfig.

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
[user]
	name = Jonathan Schleifer
	email = js@nil.im
	signingkey = 30E6948FAC8042B58CB4A96EE2BCCE6B35E1AF8B

[color]
	ui = auto
	interactive = auto

[alias]
	ci = commit -S
	co = checkout
	d = diff
	ds = diff --staged
	server = daemon --reuseaddr --verbose --base-path=. --export-all ./.git
	slog = log --show-signature
	sshow = show --show-signature
	st = status -s

[format]
	signature = Jonathan

[core]
	editor = vim

[push]
	default = matching

[gpg]
	program = gpg2

[url "git@github.com:"]
	insteadOf = https://github.com/
	pushInsteadOf = https://github.com/

[fetch]
	fsckObjects = true
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<