From b0b02c51b1d82d8b6f7e9f547d6cc68e9a494906 Mon Sep 17 00:00:00 2001 From: Nicole Tietz-Sokolskaya Date: Mon, 13 Jan 2020 14:07:04 -0500 Subject: [PATCH] Add auto install of latest git --- install.sh | 7 +++++++ nvim/.config/nvim/init.vim | 1 + 2 files changed, 8 insertions(+) diff --git a/install.sh b/install.sh index 1ee0309..f6254c2 100755 --- a/install.sh +++ b/install.sh @@ -109,6 +109,12 @@ function install_wtfutil() { cp ./wdir/wtfutil ~/.bin/ } +function install_git_latest() { + sudo add-apt-repository ppa:git-core/ppa + sudo apt update + sudo apt install git +} + #install_utilities # TODO install_docker install_docker_compose @@ -117,4 +123,5 @@ install_google_cloud_sdk install_pyenv install_ctags install_wtfutil +install_git_latest diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index ac64386..ea6c37e 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -64,5 +64,6 @@ nmap :TagbarToggle " Turn off polyglot for go so they play nice if exists('g:loaded_polyglot') let g:polyglot_disabled = ['go'] + let g:polyglot_disabled = ['rst'] endif