dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | Submodules | README | LICENSE

30_macos_casks.sh (891B)


      1 #!/usr/bin/env bash
      2 
      3 # OSX-stuff only
      4 [[ "$(uname)" != "Darwin" ]] && return 0
      5 
      6 # Exit if, for some reason, Homebrew is not installed.
      7 [[ ! "$(type -P brew)" ]] && echo "Homebrew failed to install." && return 1
      8 
      9 # from `brew cask list`
     10 casks=(
     11     adobe-acrobat-pro
     12     adobe-creative-cloud
     13     alfred
     14     battle-net
     15     bartender
     16     bitbar
     17     duet
     18     firefox
     19     google-cloud-sdk
     20     julia
     21     karabiner
     22     mactex
     23     magicavoxel
     24     osxfuse
     25     processing
     26     signal
     27     skim
     28     skype
     29     steam
     30     torbrowser
     31     transmission
     32     vagrant
     33     vlc
     34     virtualbox
     35     xquartz
     36 )
     37 
     38 read -p "Do you want to install brew casks? [y/n] " -n 1 -r
     39 echo
     40 if [[ $REPLY =~ ^[Yy]$ ]]; then
     41     for cask in "${casks[@]}"; do
     42         #read -p "Do you want to install $cask? [y/n] " -n 1 -r
     43         ##echo
     44         #if [[ $REPLY =~ ^[Yy]$ ]]; then
     45         brew cask install $cask
     46         #fi
     47     done
     48 fi