-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_macos.sh
executable file
·56 lines (45 loc) · 1.36 KB
/
install_macos.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
#!/bin/bash
echo "Installing dependencies ..."
brew install cmake \
ack \
ctags \
tmux \
reattach-to-user-namespace \
neovim \
the_silver_searcher \
fd \
fzf \
golang \
awscli \
node
brew install --cask iterm2 \
google-chrome \
slack \
docker \
insomnia \
insync \
burp-suite \
wireshark \
yubico-authenticator
echo "Coping files ..."
mkdir -p ~/.config/nvim
mkdir -p ~/.vim/{swapfiles,backup}
for item in `git ls-files` ; do
ln -sf ~/dotfiles/$item ~/.$item
done
rm ~/.install*.sh ~/.update.sh
echo "Installing Powerline fonts"
mkdir /tmp/fonts && git clone [email protected]:powerline/fonts.git /tmp/fonts
cd /tmp/fonts && ./install.sh
cd ~/dotfiles && rm /tmp/fonts
echo "Installing vim-plug ..."
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
echo "Installing plugins ...."
vim +PlugInstall
echo "Installing oh-my-zsh ..."
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
git checkout zshrc
ln -sf ~/dotfiles/zshrc ~/.zshrc
$(brew --prefix)/opt/fzf/install
echo "Done!"