-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathinstall
More file actions
executable file
·29 lines (21 loc) · 759 Bytes
/
install
File metadata and controls
executable file
·29 lines (21 loc) · 759 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
#!/bin/sh
set -e
echo "Installing Homebrew packages..."
brew update
brew tap homebrew/bundle
brew bundle
brew unlink qt 2>/dev/null || true
brew link --force qt5
echo "Installing vim-plug..."
curl -fLo vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
echo "Linking dotfiles into ~ ..."
# Before `rcup` runs, there is no ~/.rcrc, so we must tell `rcup` where to look.
# We need the rcrc because it tells `rcup` to ignore thousands of useless Vim
# backup files that slow it down significantly.
# Remove everything in there now, using `rcrc` as the rcrc.
RCRC=rcrc rcdn -v
# Install everything, using `rcrc` as the rcrc.
RCRC=rcrc rcup -v
echo "Installing Vim packages..."
vim +PlugInstall +qa