From 5cc6dc33202a3ebd55b9e58bef5203bb398ad1b4 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 9 Apr 2017 15:01:18 -0400 Subject: [PATCH] Add shell/fzf --- shell/fzf/install | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 shell/fzf/install diff --git a/shell/fzf/install b/shell/fzf/install new file mode 100755 index 00000000..f869e7a2 --- /dev/null +++ b/shell/fzf/install @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +case "$OSTYPE" in + darwin*) + brew install fzf + ;; + linux*) + if [[ -f /etc/arch-release ]]; then + sudo pacman --needed --noconfirm -S fzf + fi + ;; +esac