-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_docker.sh
44 lines (35 loc) · 910 Bytes
/
install_docker.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
#!/bin/bash
set -u
SCRIPT_DIR=$(cd $(dirname $0); pwd)
# deploy
for f in .??*
do
[[ "$f" == ".git" ]] && continue
[[ "$f" == ".gitignore" ]] && continue
[[ "$f" == ".gitmodules" ]] && continue
[[ "$f" == ".DS_Store" ]] && continue
ln -s $SCRIPT_DIR/$f $HOME/$f
done
# zsh
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
touch $HOME/.zshrc.local
# tmux
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
# zoxide
curl -sS https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | bash
echo 'export PATH="/root/.local/bin:$PATH"' >> $HOME/.zshrc.local
# fzf
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install --all
# install others
apt-get install -y \
tmux \
figlet \
lolcat \
tree \
ncdu \
exa \
htop
# bat \
# git-delta
echo installation done