-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·57 lines (40 loc) · 1.14 KB
/
Copy pathinstall.sh
File metadata and controls
executable file
·57 lines (40 loc) · 1.14 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
50
51
52
53
54
55
56
#!/bin/bash
setup-devtools () {
# Shell
sudo apt -y install zsh
# editor
# sudo apt -y install vim
# version control
sudo apt -y install git
# terminal
sudo apt -y install tmux
# Secure Shell
sudo apt -y install ssh
# network
sudo apt -y install wget curl
# tar
sudo apt -y install xz-utils
# secure
sudo apt -y install gpg
sudo apt -y install rsync psmisc iproute2 strace lsof
}
## Initial setup not docker
if [ -z "$IS_DOCKER" ]; then
# Update
sudo apt -y update && sudo apt -y upgrade
setup-devtools
fi
# dotfile dir
echo $(cd $(dirname $BASH_SOURCE); pwd) > $HOME/.local/.dotfiles
# nvim
mkdir -p $HOME/.local/opt/nvim
cd $HOME/.local/opt/nvim
curl -L https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.tar.gz > nvim-linux64.tar.gz
tar zxf nvim-linux64.tar.gz
ln -s nvim-linux64 currVer
# zsh plugin setup
# zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.local/share/zsh-syntax-highlighting
# zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions.git $HOME/.local/share/zsh-autosuggestions
echo "[+] Complete"