From 3afffe980aba1a6f4734692d1bc82f077bcbadd1 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sun, 27 Feb 2022 18:20:35 +0000 Subject: Add git configuration --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'install.sh') diff --git a/install.sh b/install.sh index ce1048f..500c864 100755 --- a/install.sh +++ b/install.sh @@ -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 -- cgit