diff options
-rw-r--r-- | git/.gitconfig | 18 | ||||
-rwxr-xr-x | install.sh | 6 |
2 files changed, 24 insertions, 0 deletions
diff --git a/git/.gitconfig b/git/.gitconfig new file mode 100644 index 0000000..ea6c0eb --- /dev/null +++ b/git/.gitconfig @@ -0,0 +1,18 @@ +[user] + name = Yann Herklotz + email = git@yannherklotz.com + signingkey = CA654D3756F79496 + +[advice] + detachedHead = false + +[sendemail] + from = Yann Herklotz <git@yannherklotz.com> + smtpuser = + smtpserver = "/usr/local/bin/msmtp" + smtpencryption = tls + chainreplyto = false + confirm = auto + +[commit] + gpgsign = true @@ -68,6 +68,7 @@ for i in "$@"; do tmux) TMUX_INST=1; NOT_ALL=1;; zathura) ZATHURA=1; NOT_ALL=1;; zsh) ZSH=1; NOT_ALL=1;; + git) GIT=1; NOT_ALL=1;; *) print_help @@ -76,6 +77,11 @@ for i in "$@"; do esac done +if [[ ! -z $GIT ]] || [[ -z $NOT_ALL ]]; then + echo "Installing git config..." + ln_configs git/.gitconfig ~/.gitconfig +fi + if [[ ! -z $EMACS ]] || [[ -z $NOT_ALL ]]; then echo "Installing emacs config..." mk ~/.emacs.d |