From c02b5d1c427b4a203eef65e2f05d1e3faa066fbb Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 6 Sep 2019 15:09:46 +0200 Subject: added ghci and gdb config files --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1550bc4..2dfe73d 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,10 @@ TMUXCONF = .tmux.conf BASHRC = .bashrc BASHALIAS = .bash_aliases PROFILE = .profile +GHCI = .ghci +GDB = .gdbinit CONFFILES = $(HOME)/$(ZSHRC) $(HOME)/$(VIMRC) $(HOME)/$(TMUXCONF) $(HOME)/$(BASHRC) \ - $(HOME)/$(BASHALIAS) $(HOME)/$(PROFILE) + $(HOME)/$(BASHALIAS) $(HOME)/$(PROFILE) $(HOME)/$(GHCI) $(HOME)/$(GDB) .PHONY: all all: $(CONFFILES) @@ -35,6 +37,14 @@ $(HOME)/$(PROFILE): $(DOTDIR)/$(PROFILE) touch $@ echo "source $<" > $@ +$(HOME)/$(GHCI): $(DOTDIR)/$(GHCI) + touch $@ + cat $< > $@ + +$(HOME)/$(GDB): $(DOTDIR)/$(GDB) + touch $@ + cat $< > $@ + .PHONY: clean clean: rm -f $(CONFFILES) -- cgit From 4df35c81432f4ec94f63b0c86de58aec4259006a Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 21 Sep 2019 21:37:30 +0200 Subject: Dependencies install, zsh syntax highlight - dependencies Makefile rule to install vim-plug, vim pluggins, oh-my-zsh, zsh-syntax-highlighting. - vim keys to move in tab menu completion - shorter bashrc --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2dfe73d..5d218e3 100644 --- a/Makefile +++ b/Makefile @@ -51,3 +51,16 @@ 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 -- cgit From 466c8a6b31a98a461b250743718084d79f67f640 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 9 Oct 2019 19:39:45 +0200 Subject: Added git config --- Makefile | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5d218e3..6a759c0 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit