-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathosx-bootstrap.sh
More file actions
executable file
·57 lines (45 loc) · 1.66 KB
/
Copy pathosx-bootstrap.sh
File metadata and controls
executable file
·57 lines (45 loc) · 1.66 KB
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
#!/bin/bash
echo "> Install homebrew"
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
echo "> Tap repos"
brew tap caskroom/cask
brew tap homebrew/dupes
brew tap jeffreywildman/homebrew-virt-manager
# Quirks in install may assign this root (then everything breaks)
mkdir -p $HOME/.config
echo "> Install gnu utilities"
brew install binutils coreutils diffutils gawk gnu-getopt gnutls gzip watch wget \
ed --with-default-names \
findutils --with-default-names \
gnu-indent --with-default-names \
gnu-sed --with-default-names \
gnu-tar --with-default-names \
gnu-which --with-default-names \
grep --with-default-names \
wdiff --with-gettext
echo "> Update existing gnu utilities"
brew install bash cmake gpatch less m4 make
echo "> Install GPG stuff"
brew install gnupg pinentry-mac
cat <<EOF > $HOME/.gnupg/gpg-agent.conf
default-cache-ttl 600
max-cache-ttl 7200
enable-ssh-support
write-env-file ~/.gpg-agent-info
pinentry-program /usr/local/bin/pinentry-mac
EOF
echo "> Install daily programs/utilities"
brew install shellcheck axel clang-format file-formula git go \
haskell-stack htop imagemagick install lynx mercurial mozjpeg neomutt \
neovim --override-system-vi openssh openvpn perl python python3 rsync \
ruby sassc screen sshfs svn tmux unzip ykpers youtube-dl
echo "> Install applications"
brew cask install postgres android-platform-tools
brew install mariadb virt-manager virt-viewer
echo "> Install python pkgs"
# Mutt
pip2 install goobook isort
# After install
echo "> Post installation action required"
echo "- please execute 'goobook authenticate'"
echo "> Be sure the owner of ~/.config is $USER"