-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·52 lines (42 loc) · 1.34 KB
/
install.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
51
52
#!/bin/bash
sudo apt install \
curl \
vim \
xterm \
tmux \
xclip \
fonts-powerline \
zsh \
fzf \
ranger \
rofi \
cargo \
libx11-dev libxtst-dev python3-docopt python3-xlib python3-pil python3-attr \
ueberzug
cargo install zoxide --locked
wget -P ~/.local/share/fonts https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.zip \
&& cd ~/.local/share/fonts \
&& unzip JetBrainsMono.zip \
&& rm JetBrainsMono.zip \
&& fc-cache -fv
git config --global include.path .config/git/config
read email -p "Enter git email address:"
read yn -p "Confirm $email ? (y/n)"
if [ "$yn" = "y" ];then
git config --global user.email $email
fi
# Initialize tpm
git submodule update --init
# Oh My Zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# Zsh - PowerLevel10k
git clone https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/powerlevel10k
# Zsh - Synthax highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
# Zsh - Autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
echo "Remap Caps Lock to Ctrl ? (y/n)"
read answer
if [ "$answer" = "y" ]; then
setxkbmap -option ctrl:nocaps
fi