From f4d5a1d6bee34ee79750c32b21517b58896d9ba1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 6 Jan 2017 00:16:27 -0500 Subject: [PATCH] editors: remove make install on osx + use full github path --- editor/emacs/install | 2 +- editor/neovim/install | 8 +++----- editor/vim/install | 7 +++---- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/editor/emacs/install b/editor/emacs/install index 9db766f5..cedb9c29 100755 --- a/editor/emacs/install +++ b/editor/emacs/install @@ -2,7 +2,7 @@ case "$OSTYPE" in darwin*) - brew install make cask python + brew install cask python brew tap railwaycat/emacsmacport brew install emacs-mac --with-imagemagick --with-modern-icon --HEAD ;; diff --git a/editor/neovim/install b/editor/neovim/install index 8b1121fc..aa5ba9d3 100755 --- a/editor/neovim/install +++ b/editor/neovim/install @@ -1,11 +1,8 @@ #!/bin/bash -command -v nvim >/dev/null && exit - case $OSTYPE in darwin*) - brew install make - brew install --HEAD neovim/neovim/neovim + command -v nvim >/dev/null || brew install --HEAD neovim/neovim/neovim ;; linux*) if [[ -f /etc/arch-release ]]; then @@ -17,7 +14,8 @@ case $OSTYPE in esac if [[ ! -d "$HOME/.vim" ]]; then - git clone --recursive "hlissner/.vim" "$HOME/.vim" + git clone --recursive "https://github.com/hlissner/.vim" "$HOME/.vim" cd "$HOME/.vim" make install + make neovim fi diff --git a/editor/vim/install b/editor/vim/install index 2f82bad9..16416c7f 100755 --- a/editor/vim/install +++ b/editor/vim/install @@ -2,7 +2,7 @@ case $OSTYPE in darwin*) - brew install make vim + brew install vim ;; linux*) if [[ -f /etc/arch-release ]]; then @@ -14,9 +14,8 @@ case $OSTYPE in ;; esac -if [[ ! -d "$HOME/.vim" ]] -then - git clone --recursive "hlissner/.vim" "$HOME/.vim" +if [[ ! -d "$HOME/.vim" ]]; then + git clone --recursive "https://github.com/hlissner/.vim" "$HOME/.vim" cd "$HOME/.vim" make install fi