diff options
author | Yann Herklotz <git@yannherklotz.com> | 2022-02-27 18:20:35 +0000 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2022-02-27 18:20:35 +0000 |
commit | 3afffe980aba1a6f4734692d1bc82f077bcbadd1 (patch) | |
tree | d5e95aaef09bff70a9b2ecc4f4087b37419b6100 /install.sh | |
parent | f1a1ede6a0088be95448914b31a39d4bbf4e309e (diff) | |
download | dotfiles-3afffe980aba1a6f4734692d1bc82f077bcbadd1.tar.gz dotfiles-3afffe980aba1a6f4734692d1bc82f077bcbadd1.zip |
Add git configuration
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |