-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path1_2-terminal_setting.sh
executable file
·46 lines (35 loc) · 1.13 KB
/
1_2-terminal_setting.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
#!/bin/bash
PROJ_DIR=$(pwd); set -o allexport; source .env; set +o allexport
echo "1_2-Setting Terminal.."
#zsh
echo "Installing zsh.."
sudo apt-get install -y zsh
sudo apt-get install -y zsh-completions
sudo mkdir ~/temp
cd ~/temp
chsh -s `which zsh`
# powerlinefont
echo "Installing PowerlineFont.."
git clone https://github.com/powerline/fonts.git
cd fonts
./install.sh
cd ..
#ohmyzsh
echo "Installing ohmyzsh.."
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
#zsh-autocompletion
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
#zsh-autosuggestion
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
echo "plugins=(zsh-syntax-highlighting zsh-autosuggestions)" >> ${ZDOTDIR:-$HOME}/.zshrc
echo "Installing neovim.."
sudo apt-get install -y neovim
sudo apt-get install -y git git-lfs
#SSH
echo "Installing ssh.."
sudo apt-get install -y ssh
#GPU Monitoring tools
pip install -y gpustat
pip install -y glances
#cleanup
sudo apt autoremove