aboutsummaryrefslogtreecommitdiffstats
path: root/os-x_move_in.sh
blob: c6f1513e19390c28d6256f876f719c0d93337683 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/bash

if ! [ -e /usr/local/bin/brew ]; then
    # Install Homebrew
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    brew doctor
fi

if ! [ -e /usr/local/bin/brew-cask ]; then
    # Install Homebrew Cask
    brew tap caskroom/cask
    brew install caskroom/cask/brew-cask
fi

if [ -d "/Applications/Little\ Snitch\ Configuration.app" ]; then

    brew cask install little-snitch
    echo "Reboot, or run this script again"

else

    brew cask install \
        alfred \
        caffeine \
        clipmenu \
        dash \
        displaylink \
        evernote \
        gfxcardstatus \
        google-chrome \
        intellij-idea \
        iterm2 \
        lastpass \
        nicecast \
        mou \
        musicbrainz-picard \
        p4merge \
        rescuetime \
        steam \
        the-unarchiver \
        transmission \
        transmit \
        vagrant \
        vagrant-manager \
        vlc

    brew install \
        git \
    
    brew install --HEAD mobile-shell

#        slack \

fi

if ! [ -d '/Applications/LastPass.app' ]; then
    
    brew cask install lastpass
    open '/opt/homebrew-cask/Caskroom/lastpass/latest/LastPass Installer.app'
    read -p "Press [Enter] key to continue..."
fi

open "/opt/homebrew-cask/Caskroom/little-snitch/3.5.1/Little Snitch Installer.app"