-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup-all.sh
executable file
·40 lines (33 loc) · 1.16 KB
/
setup-all.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
#!/bin/bash
# This is recommended to run in clean slate user.
# run this in ~/junhosetting
# run this with `sh setup-all.sh` and exit just after `zsh` is installed to proceed following configurations.
# sudo needed
# docker : https://docs.docker.com/install/linux/docker-ce/ubuntu/
# nvidia container toolkit https://github.com/NVIDIA/nvidia-docker
# sudo usermod -aG docker ${USER}
# sudo chmod 666 /var/run/docker.sock
# ## apt-install
# sudo add-apt-repository ppa:neovim-ppa/unstable
# sudo apt-get update
# sudo apt-get install tmux zsh curl vim neovim ctags
# GIT setup
git config --global user.email "[email protected]"
git config --global user.name "junhocho"
git config --global push.default simple
git config --global core.editor vim
# ZSH
./setup-zsh.sh
# TMUX
# Tmux resurrect
git clone https://github.com/tmux-plugins/tmux-resurrect ~/junhosetting/tmux-resurrect
# cp ~/junhosetting/tmux.conf ~/.tmux.conf
echo 'source ~/junhosetting/tmux.conf' > ~/.tmux.conf
tmux source ~/.tmux.conf
# change default shell
# Neovim install
./neovim-install.sh
chsh -s /usr/bin/zsh ${USER}
# Install Pytorch here : https://pytorch.org/
echo "Now enjoy! start with command : zsh!"
zsh