-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.sh
executable file
·44 lines (25 loc) · 1.02 KB
/
init.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
#!/bin/zsh
echo "Fetching submodules..."
git submodule update --init --recursive
echo "Installing brew..."
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
echo "Installing things with brew..."
brew bundle install
echo "Installing config files..."
# TODO: Setup chezmoi
echo "Installing Powerline..."
pip3 install --user powerline-status
echo "Installing tpm..."
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
echo "Installing plug..."
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
neovim +PlugInstall +qa
echo "Installing fzf"
$(brew --prefix fzf)/install --key-bindings --completion --no-update-rc
echo "Done! Hope it worked!"
echo "== Next steps =="
echo
echo "1) Create ~/.zlocal and set PYTHON_HOME"
echo "2) Open vim and run :PluginInstall to install plugins"
echo "3) Open tmux and hit C-Space-I to install plugins"