-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.brew
More file actions
29 lines (22 loc) · 887 Bytes
/
Copy path.brew
File metadata and controls
29 lines (22 loc) · 887 Bytes
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
#!/usr/bin/env bash
# Make sure we’re using the latest Homebrew. Upgrade any already-installed formulae.
brew update && brew upgrade
# Save Homebrew’s installed location.
BREW_PREFIX=$(brew --prefix)
# Install GNU core utilities (those that come with macOS are outdated).
# Don’t forget to add `$(brew --prefix coreutils)/libexec/gnubin` to `$PATH`.
brew install coreutils
ln -s "${BREW_PREFIX}/bin/gsha256sum" "${BREW_PREFIX}/bin/sha256sum"
ln -s "${BREW_PREFIX}/bin/gdate" "${BREW_PREFIX}/bin/date"
ln -s "${BREW_PREFIX}/bin/gls" "${BREW_PREFIX}/bin/ls"
# Install GNU `sed`, overwriting the built-in `sed`.
brew install gnu-sed
# Install a modern version of Bash.
brew install bash
brew install bash-completion2
# Install `wget` with IRI support.
brew install wget
# Install more recent versions of some macOS tools.
brew install vim
brew install grep
brew install openssh