commit 8ae285891b58aed922d89da52979f5c16de95996 parent 4404a772295e80ef7b3114b2b9f6e0f5fa35a1bb Author: Mark Feller <mfeller@recurly.com> Date: Thu, 19 Dec 2019 15:27:48 -0700 add macos packages Signed-off-by: Mark Feller <mfeller@recurly.com> Diffstat:
A | pkgs/macos/install | | | 30 | ++++++++++++++++++++++++++++++ |
A | pkgs/macos/packages | | | 16 | ++++++++++++++++ |
2 files changed, 46 insertions(+), 0 deletions(-)
diff --git a/pkgs/macos/install b/pkgs/macos/install @@ -0,0 +1,30 @@ +#!/bin/sh +set -e + +dotsrepo=${dotfilesrepo:-"https://gitlab.com/mark.feller/rice.git"} +pkgfile=${pkgfile:-"https://gitlab.com/mark.feller/rice/raw/master/pkgs/macos/packages"} + +log() { + printf '\033[1;33m%s \033[m%s\033[m %s\n' \ + "->" "${2:+[1;36m}$1${2:+[m}" "$2" +} + +install_packages() { + # Copy a real file to our temp progsfile or attempt to curl the progsfile + ([ -f "$pkgfile" ] && cp "$pkgfile" /tmp/pkgs) || curl -Ls "$pkgfile" > /tmp/pkgs + + packages=$(sed '/^$/d' /tmp/pkgs | sed '/^#/d') + while IFS=' ' read -r program comment; do + brew install $program + done <<EOF +$packages +EOF +} + +install_dots() { + git clone "$dotsrepo" ~/.config/rice + (cd ~/.config/rice && ./install) +} + +install_packages +install_dots diff --git a/pkgs/macos/packages b/pkgs/macos/packages @@ -0,0 +1,16 @@ +# Tooling +git is a version control system +stow is a tool for managing symlinks for dot files +emacs is the best editor +lf is an extensive terminal file manager +fzf is a fuzzy finder tool +htop provides system usage information and displays processes +zsh is a shell that is compatible with bash. +go is the go toolchain + +# Audio and Video +ffmpeg can record and splice video and audio on the command line +mpd is a lightweight music daemon +mpc is a terminal interface for mpd +ncmpcpp is an ncurses interface for music with multiple formats and a powerful tag editor +youtube-dl can download any YouTube video when given the link