-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrunrun.sh
More file actions
executable file
·49 lines (38 loc) · 1.07 KB
/
runrun.sh
File metadata and controls
executable file
·49 lines (38 loc) · 1.07 KB
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
exists(){
command -v $1 2>&1 >/dev/null && return 0 || return 1
}
sudo apt update -y
sudo apt upgrade -y
echo "Installing curl..."
if ! exists curl; then
sudo apt install -y curl
fi
# echo "Installing nvm..."
# if ! exists nvm; then
# curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
# fi
# echo "Installing npm..."
# if ! exists npm; then
# sudo apt install npm
# fi
echo "Installing xclip..."
if ! exists xclip; then
sudo apt install xclip
fi
echo "Installing vim..."
if ! exists vim; then
sudo apt install -y vim
fi
# echo "Installing latest nodejs stable..."
# nvm install stable &
cp ./.vimrc ~/ &
sudo mkdir -p ~/.vim/after/syntax
sudo cp syntax/*.vim ~/.vim/after/syntax
sudo cp --parents colors/*.vim ~/.vim
sudo git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
sudo vim +PluginInstall +qall &
git config --global core.editor "vim"
cat .bashrc >> ~/.bashrc
git config --global user.email "pierre.pirault@outlook.com"
git config --global user.name "papiro"
git config --global push.default simple