diff options
| author | Charles <sircharlesaze@gmail.com> | 2019-10-09 19:39:45 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2019-10-09 19:39:45 +0200 |
| commit | 466c8a6b31a98a461b250743718084d79f67f640 (patch) | |
| tree | b65506ea9110f6e17172498666c0182a91358c52 | |
| parent | 4df35c81432f4ec94f63b0c86de58aec4259006a (diff) | |
| download | dotfiles-466c8a6b31a98a461b250743718084d79f67f640.tar.gz dotfiles-466c8a6b31a98a461b250743718084d79f67f640.tar.bz2 dotfiles-466c8a6b31a98a461b250743718084d79f67f640.zip | |
Added git config
| -rw-r--r-- | .gitconfig | 8 | ||||
| -rw-r--r-- | Makefile | 32 |
2 files changed, 27 insertions, 13 deletions
diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..577206f --- /dev/null +++ b/.gitconfig @@ -0,0 +1,8 @@ +[user] + name = Charles + email = sircharlesaze@gmail.com +[credential] + helper = cache + username = HappyTramp +[log] + decorate = full @@ -7,8 +7,10 @@ BASHALIAS = .bash_aliases PROFILE = .profile GHCI = .ghci GDB = .gdbinit +GITCONFIG = .gitconfig CONFFILES = $(HOME)/$(ZSHRC) $(HOME)/$(VIMRC) $(HOME)/$(TMUXCONF) $(HOME)/$(BASHRC) \ - $(HOME)/$(BASHALIAS) $(HOME)/$(PROFILE) $(HOME)/$(GHCI) $(HOME)/$(GDB) + $(HOME)/$(BASHALIAS) $(HOME)/$(PROFILE) $(HOME)/$(GHCI) $(HOME)/$(GDB) \ + $(HOME)/$(GITCONFIG) .PHONY: all all: $(CONFFILES) @@ -45,6 +47,10 @@ $(HOME)/$(GDB): $(DOTDIR)/$(GDB) touch $@ cat $< > $@ +$(HOME)/$(GITCONFIG): $(DOTDIR)/$(GITCONFIG) + touch $@ + cat $< >> $@ + .PHONY: clean clean: rm -f $(CONFFILES) @@ -52,15 +58,15 @@ clean: .PHONY: re re: clean all -.PHONY: dependencies -dependencies: - @echo "Installing vim-plug (plugin manager)" - curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ - https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim - @echo "Installing vim plugins" - vim -c "PlugInstall" -c "qa" - @echo "Installing oh-my-zsh" - sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" - @echo "Installing zsh-syntax-highlighting" - git clone https://github.com/zsh-users/zsh-syntax-highlighting.git \ - ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting +# .PHONY: dependencies +# dependencies: +# @echo "Installing vim-plug (plugin manager)" +# curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ +# https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim +# @echo "Installing vim plugins" +# vim -c "PlugInstall" -c "qa" +# @echo "Installing oh-my-zsh" + # sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" + # @echo "Installing zsh-syntax-highlighting" + # git clone https://github.com/zsh-users/zsh-syntax-highlighting.git \ + # ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting |
