-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathosx.sh
executable file
·78 lines (61 loc) · 1.59 KB
/
osx.sh
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/usr/bin/env bash
# Install command line tools
xcode-select --install
# Make sure we’re using the latest Homebrew.
brew update
# Upgrade any already-installed formulae.
brew upgrade
# Install GNU utilities (those that come with macOS are outdated).
brew install coreutils
brew install moreutils
brew install findutils
brew install gnu-sed --with-default-names
# Install Bash 4.
brew install bash
brew install bash-completion2
# Switch to using brew-installed bash as default shell
if ! fgrep -q '/usr/local/bin/bash' /etc/shells; then
echo '/usr/local/bin/bash' | sudo tee -a /etc/shells;
chsh -s /usr/local/bin/bash;
fi;
# Install `wget` with IRI support.
brew install wget --with-iri
# Install GnuPG to enable PGP-signing commits.
brew install gnupg
# Install vim8
brew install vim --with-override-system-vi
# Install cli tools
brew install grep
brew install hyper
brew install exa
brew install fd
brew install fzf
# Also install z.sh
# Install font tools.
brew tap bramstein/webfonttools
brew install sfnt2woff
brew install sfnt2woff-zopfli
brew install woff2
# Install cask programs
brew cask install hyper
brew cask install visual-studio-code
brew cask install flux
brew cask install spotify
brew cask install google-chrome
brew cask install firefox
brew cask install spectacle
# Remove outdated versions from the cellar.
brew cleanup
# Install powerline fonts
# clone
git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts
# Install NPM modules
# Spaceship Prompt for ZSH
npm install -g spaceship-prompt
npm install -g tldr