-
Notifications
You must be signed in to change notification settings - Fork 0
/
osx.sh
executable file
·51 lines (43 loc) · 972 Bytes
/
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
# Check for Homebrew,
# Install if we don't have it
if test ! $(which brew); then
echo "Installing homebrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
# Update homebrew recipes
brew update
binaries=(
homebrew/cask-cask
tig
tmux
node
neovim
bat
ranger
starship
)
echo "installing binaries..."
brew install ${binaries[@]}
brew cleanup
# Fix brew install neovim without python3 provider
sudo pip3 install neovim --upgrade
# brew cask
brew tap homebrew/cask-fonts
brew cask install font-fira-cod
apps=(
dropbox
rectangle
google-chrome
firefox
# appcleaner
# vlc
)
# Install apps to /Applications
# Default is: /Users/$user/Applications
echo "installing apps..."
brew cask install --appdir="/Applications" ${apps[@]}
# Generate default rc.conf
# To Enable image preview in iTerm2, modify rc.conf:
# set preview_images true
# set preview_images_method iterm2
#ranger --copy-config=rc