summary refs log tree commit diff
path: root/install.sh
blob: fb7a0d93cd96991f406ca5e56203b940fa75a9f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
set -e -u

any='gnupg htop nasm neovim sl the_silver_searcher tree'
brew="$any ddate git openssh"
pkg="$any curl ddate sudo zsh"
pacman="$any base-devel ctags gdb openssh zsh"

homebrew='https://raw.githubusercontent.com/Homebrew/install/master/install'
if [ "$(uname)" = 'Darwin' ]; then
    xcode-select --install || true
    [ -f /usr/local/bin/brew ] || ruby -e "$(curl -fsSL "$homebrew")"
    exec brew install $brew
fi

[ -f /usr/local/sbin/pkg ] && exec pkg install $pkg
[ -f /usr/bin/pacman ] && pacman -Sy && exec pacman -S --needed $pacman
/td> 2016-05-15Cache GPG key for half an hourJune McEnroe 2016-04-29Test for linux insteadJune McEnroe 2016-04-29Remove explicit syntax/filetype onJune McEnroe neovim 0.1.4 actually doesn't need them! 2016-04-12Remove gvim=mvim aliasJune McEnroe 2016-04-12Detect Darwin or *BSD for aliasesJune McEnroe 2016-04-07Use default pinentry and set GPG_TTYJune McEnroe 2016-04-07Add git config override includeJune McEnroe 2016-04-06Simplify install scriptJune McEnroe 2016-04-06Add gpg-agent to READMEJune McEnroe 2016-04-06Always sign git commitsJune McEnroe 2016-04-06Use standard socket for gpg-agentJune McEnroe 2016-04-06Set iTerm font to PointfreeJune McEnroe