-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·103 lines (85 loc) · 2.37 KB
/
install.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
#!/bin/bash
####################
# Set-up
####################
# Let's make sure we have git installed before we begin
sudo pacman -Syu git curl
# Install yay, for easier pacman/AUR management
sudo pacman -Syu yay
####################
# Fonts
####################
# Fira Code: monospaced font with programming ligatures
yay -Syu otf-fira-code
####################
# Python + pip
####################
yay -Syu pip
####################
# Vim
####################
# Install neovim, and replace vim with nvim
yay -S neovim python2-neovim python-neovim
yay -S neovim-drop-in
# Install vim-plug
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# Create vim scratch directories
mkdir -p ~/.local/share/nvim/plugged
mkdir -p ~/.vim/backups
mkdir -p ~/.vim/tmp
####################
# Tmux
####################
sudo pip install powerline-status
yay -S tmux
####################
# SCM breeze
####################
git clone git://github.com/scmbreeze/scm_breeze.git ~/.scm_breeze
####################
# Node
####################
yay -S nodejs npm # Needed for vim-prettier
####################
# Ruby
####################
yay -S ruby # SCM breeze works better with Ruby installed
yay -S rbenv rbenv-binstubs ruby-build
rbenv install 2.4.2
####################
# Zsh
####################
yay -S zsh
yay -S oh-my-zsh-git
yay -S antigen-git
sudo git clone https://github.com/romkatv/powerlevel10k.git /usr/share/oh-my-zsh/custom/themes/powerlevel10k
####################
# Autojump
####################
yay -S autojump
####################
# thefuck
####################
yay -S thefuck
####################
# tmux
####################
yay -S tmux tmuxinator
####################
# Symlinks
####################
mkdir -p ~/.config/nvim
ln -s ~/dotfiles/vim/vimrc ~/.config/nvim/init.vim
ln -s ~/dotfiles/scm_breeze/git.scmbrc ~/.git.scmbrc
ln -s ~/dotfiles/zsh/zshrc ~/.zshrc
ln -s ~/dotfiles/zsh/zsh_functions ~/.zsh_functions
ln -s ~/dotfiles/zsh/zsh_aliases ~/.zsh_aliases
ln -s ~/dotfiles/tmux/tmux.conf ~/.tmux.conf
ln -s ~/dotfiles/zsh/p10k.zsh ~/.p10k.zsh
touch ~/.zsh_local
echo "All done!"
echo "Remember to set your terminal font to Fira Code"
echo "Remember to check the first line of tmux.conf - it should be set to"
echo "/usr/lib/python3.7/site-packages/"
show powerline-status | grep Location | sed 's/Location: //g'