-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcloudstartup.sh
50 lines (35 loc) · 1.05 KB
/
cloudstartup.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
#! /bin/bash
sudo passwd
sudo passwd $USER
sudo apt-get update && sudo apt-get dist-upgrade -y
sudo apt-get install zsh stow glances -y
ssh-keygen -b 2048 -t rsa
cat .ssh/id_rsa.pub
# clone
git clone https://github.com/powerline/fonts.git
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts
chsh -s /bin/zsh
sudo apt-get -y install stow
cd ~
#git clone [email protected]:tarjoilija/zgen.git
git clone https://github.com/tarjoilija/zgen.git
#git clone [email protected]:unixorn/zsh-quickstart-kit.git
git clone https://github.com/unixorn/zsh-quickstart-kit.git
cd zsh-quickstart-kit
stow --target=/home/$USER zsh
sudo apt-get install nodejs-legacy -y
sleep 5
source .zshrc
zsh
curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | zsh
git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
echo PATH="/home/jonathanpoczatek/.pyenv/bin:$PATH" >> ~/.zshrc
echo 'eval "$(pyenv init -)"' >> ~/.zshrc
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.zshrc
exec $SHELL
pyenv update