From 147512b83552a097f770db85def0d9d446420d1b Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 15 Sep 2017 11:30:20 -0400 Subject: Rename zsh scripts .zsh --- install.sh | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 0684b053..2e159f5a 100755 --- a/install.sh +++ b/install.sh @@ -3,26 +3,26 @@ set -eu common='gdb git gnupg htop sl the_silver_searcher tree' +homebrew=https://raw.githubusercontent.com/Homebrew/install/master/install macos() { - homebrew=https://raw.githubusercontent.com/Homebrew/install/master/install - xcode-select --install || true - [ ! -f /usr/local/bin/brew ] && ruby -e "`curl -fsSL $homebrew`" - brew install $common - brew install ddate neovim/neovim/neovim openssh + xcode-select --install || true + [ ! -f /usr/local/bin/brew ] && ruby -e "`curl -fsSL $homebrew`" + brew install $common + brew install ddate neovim/neovim/neovim openssh } freebsd() { - pkg install $common - pkg install curl ddate neovim sudo zsh + pkg install $common + pkg install curl ddate neovim sudo zsh } arch() { - pacman -Sy - pacman -S --needed base-devel - pacman -S --needed $common - pacman -S --needed neovim openssh zsh + pacman -Sy + pacman -S --needed base-devel + pacman -S --needed $common + pacman -S --needed neovim openssh zsh } -[ "$(uname)" = 'Darwin' ] && macos && exit -[ -f /usr/local/sbin/pkg ] && freebsd && exit -[ -f /usr/bin/pacman ] && arch && exit +[ "$(uname)" = 'Darwin' ] && macos +[ -f /usr/local/sbin/pkg ] && freebsd +[ -f /usr/bin/pacman ] && arch -- cgit 1.4.1