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