editors: remove make install on osx + use full github path

This commit is contained in:
Henrik Lissner 2017-01-06 00:16:27 -05:00
parent 842d993765
commit f4d5a1d6be
3 changed files with 7 additions and 10 deletions

View file

@ -2,7 +2,7 @@
case "$OSTYPE" in case "$OSTYPE" in
darwin*) darwin*)
brew install make cask python brew install cask python
brew tap railwaycat/emacsmacport brew tap railwaycat/emacsmacport
brew install emacs-mac --with-imagemagick --with-modern-icon --HEAD brew install emacs-mac --with-imagemagick --with-modern-icon --HEAD
;; ;;

View file

@ -1,11 +1,8 @@
#!/bin/bash #!/bin/bash
command -v nvim >/dev/null && exit
case $OSTYPE in case $OSTYPE in
darwin*) darwin*)
brew install make command -v nvim >/dev/null || brew install --HEAD neovim/neovim/neovim
brew install --HEAD neovim/neovim/neovim
;; ;;
linux*) linux*)
if [[ -f /etc/arch-release ]]; then if [[ -f /etc/arch-release ]]; then
@ -17,7 +14,8 @@ case $OSTYPE in
esac esac
if [[ ! -d "$HOME/.vim" ]]; then 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" cd "$HOME/.vim"
make install make install
make neovim
fi fi

View file

@ -2,7 +2,7 @@
case $OSTYPE in case $OSTYPE in
darwin*) darwin*)
brew install make vim brew install vim
;; ;;
linux*) linux*)
if [[ -f /etc/arch-release ]]; then if [[ -f /etc/arch-release ]]; then
@ -14,9 +14,8 @@ case $OSTYPE in
;; ;;
esac esac
if [[ ! -d "$HOME/.vim" ]] if [[ ! -d "$HOME/.vim" ]]; then
then git clone --recursive "https://github.com/hlissner/.vim" "$HOME/.vim"
git clone --recursive "hlissner/.vim" "$HOME/.vim"
cd "$HOME/.vim" cd "$HOME/.vim"
make install make install
fi fi