Last active
October 24, 2019 10:58
-
-
Save dangkhoasdc/c7f3626f058c99a80bd6827fd45970b6 to your computer and use it in GitHub Desktop.
Setup Arch OS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "Setup the workspace" | |
# pacman -S sudo | |
# install yay | |
git clone https://aur.archlinux.org/yay.git | |
cd yay | |
makepkg -si | |
cd .. & rm -rf yay | |
# essential dev tools | |
sudo pacman -S --needed base-devel git wget yajl gcc | |
sudo pacman --noconfirm -S openssh python ruby python-pip | |
# neovim stuff | |
sudo pacman --noconfirm -S neovim xclip | |
sudo pip install neovim | |
sudo pip install mistune psutil setproctitle | |
# vim-plug | |
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \ | |
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
# do I really need jedi? | |
# a new version of ctags | |
yay --noconfirm -S universal-ctags | |
# silver-searcher-git is replaced by ripgrep? | |
sudo pacman --noconfirm -S ripgrep | |
# urxvt | |
sudo pacman --noconfirm -S rxvt-unicode | |
# fonts | |
sudo pacman --noconfirm -S adobe-source-code-pro-fonts fontconfig | |
yay --noconfirm -S powerline-fonts-git ttf-emojione-color nerd-fonts-complete | |
# general programming tools | |
sudo pacman --noconfirm -S tmux fzf | |
# tmux plugin manager | |
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm | |
## C++ programming tools | |
sudo pacman --noconfirm -S clang lldb llvm gdb boost | |
yay -S --noconfirm cquery | |
## js | |
sudo pacman --noconfirm -S npm | |
## Research purpose | |
sudo pacman -S --noconfirm texlive-core texlive-pictures texlive-science \ | |
mupdf zathura-pdf-poppler texlive-latexextra xdotool | |
sudo pacman -S zsh-theme-powerlevel9k | |
sudo pacman -S --noconfirm zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
# install plugins | |
# remote work | |
sudo pacman -S --noconfirm sshfs | |
echo "Copy default settings to the new machine" | |
if [ -d dotfiles ] | |
then | |
rm -rf dotfiles | |
fi | |
git clone https://github.com/dangkhoasdc/dotfiles | |
cd dotfiles | |
# copy all files/folders except git | |
find . -type f '!' -iname ".git" -exec cp -rv {} ~/.config \; | |
nvim +PlugInstall +qall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment