-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathonboard.sh
executable file
·37 lines (28 loc) · 1.36 KB
/
onboard.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
#!/bin/bash
# Install homebrew - https://brew.sh/
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install zsh - https://github.com/robbyrussell/oh-my-zsh/wiki/Installing-ZSH
brew install zsh zsh-completions
# Install oh-my-zsh -
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# Install tmux
brew install tmux
ln -s ~/dotfiles/.tmux-conf ~/.tmux-conf
# Install nvm - https://github.com/creationix/nvm#installation
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
# Install neovim (nvim) - https://sergeykalistratov.com/neovim-with-python-on-macos/
brew install python3
pip3 install neovim
echo '# nvim path' >> ~/.zshrc
echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.zshrc
if [ ! -d ~/.config ]; then
mkdir ~/.config;
ln -s ~/dotfiles/nvim ~/.config/nvim;
fi
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# Install zsh-syntax-highlighting
brew install zsh-syntax-highlighting
echo '# zsh-syntax-highlighting path' >> ~/.zshrc
echo 'source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' >> ~/.zshrc
echo 'export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/usr/local/share/zsh-syntax-highlighting/highlighters' >> ~/.zshrc