-
Notifications
You must be signed in to change notification settings - Fork 3
/
.deps
155 lines (131 loc) · 4.8 KB
/
.deps
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
#!/usr/bin/env bash
###############################################################################
# HomeBrew
###############################################################################
# Install Homebrew if not found
if [[ -z $(command -v brew) ]]; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
fi
if [[ -f /opt/homebrew/bin/brew ]]; then
eval "$(/opt/homebrew/bin/brew shellenv)"
elif [[ -f /usr/local/bin/brew ]]; then
eval "$(/usr/local/bin/brew shellenv)"
fi
# Make sure we’re using the latest Homebrew
brew update
# Upgrade any already-installed formulae
brew upgrade
# Install GNU core utilities (those that come with OS X are outdated)
# Don’t forget to add `$(brew --prefix coreutils)/libexec/gnubin` to `$PATH`.
brew install coreutils
# Install some other useful utilities like `sponge`.
brew install moreutils
# Install GNU `find`, `locate`, `updatedb`, and `xargs`, g-prefixed
brew install findutils
# Install GNU `sed`, overwriting the built-in `sed`.
brew install gnu-sed
# Install Bash 4.
brew install bash
# Adding `/usr/local/bin/bash` to `/etc/shells`
if ! fgrep -q '$HOMEBREW_PREFIX/bin/bash' /etc/shells; then
echo '$HOMEBREW_PREFIX/bin/bash' | sudo tee -a /etc/shells;
fi;
if [[ -f $HOMEBREW_PREFIX/bin/bash ]]; then
chsh -s $HOMEBREW_PREFIX/bin/bash;
fi
brew install bash-completion2
brew install wget
brew install gnupg
brew install grep
brew install openssh
brew install screen
brew install php
brew install mono
brew install nvm
brew install ruby
brew install rbenv
brew install ack
brew install blueutil
brew install certbot
brew install composer
brew install dos2unix
brew install dnsmasq
brew install ffmpeg
brew install git
brew install imagemagick
brew install macvim
brew install mas
brew install nginx
brew install tree
brew install mariadb
brew install wp-cli
brew services start mariadb
# quicklook plugins
brew install --cask qlcolorcode # syntax highlighting for code files
brew install --cask qlstephen # display text files with unknown or no extension, like CHANGELOG
brew install --cask qlmarkdown # display markdown
brew install --cask quicklook-json # display json files with highlighting
# browsers
brew install --cask firefox
brew install --cask google-chrome
brew install --cask tor-browser
# devtools
brew install --cask cyberduck
brew install --cask datagrip
brew install --cask dotnet-sdk
mas install 1289197285 # MindNode
mas install 1295203466 # Microsoft Remote Desktop
brew install --cask microsoft-azure-storage-explorer
brew install --cask mysqlworkbench
brew install --cask rider
brew install --cask sourcetree
brew install --cask visual-studio-code
# other
brew install --cask adobe-creative-cloud
mas install 1254981365 # Contrast
brew install --cask dropbox
mas install 406056744 # Evernote
brew install --cask figma
brew install --cask gpg-suite
brew install --cask grammarly-desktop
mas install 409183694 # Keynote
mas install 926036361 # LastPass
mas install 409203825 # Numbers
mas install 409201541 # Pages
brew install --cask parallels
mas install 803453959 # Slack
#mas install 1176895641 # Spark Email
brew install --cask spotify
mas install 1278508951 # Trello
# fonts
brew install --cask font-source-code-pro
brew install --cask font-hack-nerd-font
# REMOVE bundled apps
mas uninstall 408981434 # iMovie
mas uninstall 682658836 # GarageBand
# Remove outdated versions from the cellar
brew cleanup
###############################################################################
# Jasnus (for vim) #
###############################################################################
# Install Janus for vim
if [[ -n $(command -v vim) ]] && [[ ! -d ~/.vim/janus ]]; then
curl -Lo- https://bit.ly/janus-bootstrap | bash
(cd .vim && git submodule update --remote && rake)
fi
###############################################################################
# NVM (Node Version Manager - https://github.com/creationix/nvm) #
###############################################################################
# Install latest version of nodejs
if [[ -n $(command -v nvm) ]]; then
nvm install stable
fi
###############################################################################
# Composer & Valet #
###############################################################################
if [[ -n $(command -v composer) ]]; then
composer global require laravel/valet
[[ -s $HOME/.composer/vendor/bin ]] && export PATH=${PATH+$PATH:}$HOME/.composer/vendor/bin
valet install
php -d memory_limit=768M "$(which wp)" package install aaemnnosttv/wp-cli-valet-command:@stable
fi