diff options
-rw-r--r-- | home/.gitconfig | 26 | ||||
-rwxr-xr-x | new-user-setup.sh | 4 |
2 files changed, 30 insertions, 0 deletions
diff --git a/home/.gitconfig b/home/.gitconfig new file mode 100644 index 0000000..17ace36 --- /dev/null +++ b/home/.gitconfig | |||
@@ -0,0 +1,26 @@ | |||
1 | [user] | ||
2 | name = Tristan Williams | ||
3 | email = tgwil@tgwil.net | ||
4 | username = tgwil | ||
5 | [include] | ||
6 | # .gitconfig.local used for GPG secret only | ||
7 | path = ~/.gitconfig.local | ||
8 | [core] | ||
9 | editor = emacsclient | ||
10 | autocrlf = input | ||
11 | [commit] | ||
12 | gpgsign = true | ||
13 | verbose = true | ||
14 | [init] | ||
15 | defaultBranch = stable | ||
16 | [merge] | ||
17 | conflictstyle = zdiff3 | ||
18 | [diff] | ||
19 | algorithm = histogram | ||
20 | context = 5 | ||
21 | [log] | ||
22 | date = iso | ||
23 | [gpg] | ||
24 | program = gpg2 | ||
25 | [safe] | ||
26 | directory = * | ||
diff --git a/new-user-setup.sh b/new-user-setup.sh index 072404b..e52a8fa 100755 --- a/new-user-setup.sh +++ b/new-user-setup.sh | |||
@@ -151,6 +151,10 @@ place_file $HOME/dotfiles.core/home/.bash_aliases $HOME/.bash_aliases | |||
151 | place_directory $HOME/.gnupg/ | 151 | place_directory $HOME/.gnupg/ |
152 | place_file $HOME/dotfiles.core/home/.gnupg/gpg-agent.conf $HOME/.gnupg/gpg-agent.conf | 152 | place_file $HOME/dotfiles.core/home/.gnupg/gpg-agent.conf $HOME/.gnupg/gpg-agent.conf |
153 | 153 | ||
154 | # Git configuration | ||
155 | place_file $HOME/dotfiles.core/home/.gitconfig $HOME/.gitconfig | ||
156 | echo -e "${WARN}WARNING: ~/.gitconfig.local should be placed manually${ENDCOLOR}" | ||
157 | |||
154 | 158 | ||
155 | ######################################################################## | 159 | ######################################################################## |
156 | ## END OF SCRIPT | 160 | ## END OF SCRIPT |