diff options
author | June McEnroe <june@causal.agency> | 2017-09-15 11:30:20 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2017-09-15 11:30:20 -0400 |
commit | 03454613ae2a538ecddf64734e983699443d8be0 (patch) | |
tree | 6db46c7719df8593d3f36ea8b09af5af07821e3c /install.sh | |
parent | Rename files directory etc (diff) | |
download | src-03454613ae2a538ecddf64734e983699443d8be0.tar.gz src-03454613ae2a538ecddf64734e983699443d8be0.zip |
Rename zsh scripts .zsh
Diffstat (limited to '')
-rwxr-xr-x | install.sh | 28 |
1 files changed, 14 insertions, 14 deletions
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 |