-
Notifications
You must be signed in to change notification settings - Fork 0
/
.install.sh
executable file
·34 lines (27 loc) · 1.33 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
#!bash
# AUR
sudo echo '[archlinuxcn]' >> /etc/pacman.conf
sudo echo '' >> /etc/pacman.conf
sudo echo 'Server = https://repo.archlinuxcn.org/$arch' >> /etc/pacman.conf
sudo pacman -Sy
sudo pacman -S archlinuxcn-keyring
# arch packages
sudo pacman -S zsh starship vim neovim-git git tig neomutt tmux ripgrep most bat htop ranger fd fzf lsd exa pass neofetch tealdeer translate-shell icdiff
# install oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# syntax highlight
git clone --depth=1 https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
# power10k
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
# install tpm
git clone --depth=1 https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
# nvim coc settings
ln -sf $HOME/.vim/coc-settings.json .config/nvim/coc-settings.json
# dev envs
sudo pacman -S gcc clang rustup nodejs yarn
sudo pacman -S vscode-json-languageserver vscode-html-languageserver vscode-css-languageserver vscode-markdown-languageserver lua-language-server
# vcpkg
git clone https://github.com/Microsoft/vcpkg.git $HOME/.vcpkg
# xmake
# gui
source $HOME/.zshrc