aboutsummaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2022-02-27 18:20:35 +0000
committerYann Herklotz <git@yannherklotz.com>2022-02-27 18:20:35 +0000
commit3afffe980aba1a6f4734692d1bc82f077bcbadd1 (patch)
treed5e95aaef09bff70a9b2ecc4f4087b37419b6100 /install.sh
parentf1a1ede6a0088be95448914b31a39d4bbf4e309e (diff)
downloaddotfiles-3afffe980aba1a6f4734692d1bc82f077bcbadd1.tar.gz
dotfiles-3afffe980aba1a6f4734692d1bc82f077bcbadd1.zip
Add git configuration
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh6
1 files changed, 6 insertions, 0 deletions
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