Adding git.
This includes a reference to diff-so-fancy which does not exist on any of my current servers. I will need to update this.
This commit is contained in:
parent
0082c0b72a
commit
00a03181fe
7
git/gitconfig
Normal file
7
git/gitconfig
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[user]
|
||||||
|
email = james@jpatrick.io
|
||||||
|
name = James Patrick
|
||||||
|
|
||||||
|
[core]
|
||||||
|
pager = diff-so-fancy | less -FXRi
|
||||||
|
editor = vim
|
17
git/makefile
Normal file
17
git/makefile
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
SRC_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
||||||
|
SOURCE := $(SRC_DIR)/gitconfig
|
||||||
|
TARGET := ~/.gitconfig
|
||||||
|
|
||||||
|
include ../lib/shared.mk
|
||||||
|
|
||||||
|
install: | init update
|
||||||
|
|
||||||
|
init:
|
||||||
|
$(info => Setting up gitconfig)
|
||||||
|
$(mk_link) $(SOURCE) $(TARGET)
|
||||||
|
|
||||||
|
update:
|
||||||
|
|
||||||
|
remove:
|
||||||
|
$(info => Remvoing gitconfig)
|
||||||
|
$(rm_link) $(TARGET)
|
Loading…
Reference in New Issue
Block a user