-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·33 lines (27 loc) · 871 Bytes
/
setup.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
#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
#install homebrew
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Oh My Zsh
# https://github.com/robbyrussell/oh-my-zsh#via-curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
brew install \
fasd \
fzf \
rg \
ctags \
vim \
ack \
ag \
zsh-completion \
--HEAD universal-ctags/universal-ctags/universal-ctags
# zsh-autosuggestion
# https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md#oh-my-zsh
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# my vimrc
cd
git clone https://github.com/JacquesLeupin/vimrc
cd vimrc
./setup.sh
# Copy over .zshrc
cp ${DIR}/.zshrc ~/.zshrc