-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
34 lines (25 loc) · 899 Bytes
/
setup.sh
File metadata and controls
34 lines (25 loc) · 899 Bytes
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
#!/bin/bash
# tmux
yum -y install https://centos7.iuscommunity.org/ius-release.rpm
yum install -y tmux2u
cp ./tmux.conf ~/.tmux.conf
# fonts
#yum install fontconfig -y
#git clone git@github.com:powerline/fonts.git --depth 1
#(cd fontd && ./install.sh)
# repo
rpm -Uvh http://mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el7.noarch.rpm
# update vim
yum -y --enablerepo=gf-plus install vim-enhanced vim-minimal git ctags gcc python-devel
# install vim plug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
cp ./vimrc ~/.vimrc
vim +PlugInstall +qall
# ag
yum install -y the_silver_searcher
# rg
yum install -y yum-utils
yum-config-manager --add-repo=https://copr.fedorainfracloud.org/coprs/carlwgeorge/ripgrep/repo/epel-7/carlwgeorge-ripgrep-epel-7.repo
yum install -y ripgrep
echo "Install success"