Axect's Customization Files
You can setup new arch linux laptop or desktop easily with Socialst
echo $HOME
)git clone https://github.com/Axect/Socialst
cd Socialst/Script
00_Arch
directorycd 00_Arch
paru
and prerequisites (base-devel
)sh paru.sh
sh package.sh
cd ..
Execute shell script files sequentially
01_env.sh
: Setup for zsh, vim, eisvogel, zathura, input method, zellij
02_git.sh
: Configure git with an option: credential.helper store
gh auth login
03_proj.sh
: Clone whole projects for https://github.com/Axect
(It is just for my convenience - You don't need to execute this file)04_rust.sh
: Setup rust via rustup
05_rust_analyzer.sh
: Install rust analyzer as a component of rustup06_cargo.sh
: Install useful applications via cargo
07_coc.sh
: If you chose 'Neovim' in 01_env.sh
, then this script provided setup for Coc
08_nim.sh
: Install nim via choosenim
09_rprofile.sh
: Change R repo to Seoul (If you are not korean, this script file may be harmful)10_R.sh
: Install useful R packages11_npm.sh
: Create .npm-global
directory and prefix12_extra_python.sh
: Install extra useful python packages via pip
13_file.sh
: Make nautilus default file manager (If you don't use nautilus, it may be harmful)14_openblas.sh
: Download & Make OpenBLAS
to /opt
directory (You should have $HOME/zbin
directory before executing this)15_root_jupyter.sh
: Install ROOT jupyter kernel16_julia_docker.sh
: Julia docker setup (Deprecated)17_julia_package.jl
: Install julia packages (Execute by julia 17_julia_package.jl
)18_haskell.sh
: Install haskell via ghcup
19_xkcd.sh
: Setup xkcd font for matplotlib20_npm_package.sh
: Install useful npm packagesAfter hook
sh 01_env.sh
, then you should configure UIM via uim-pref-gtk
. If you are korean, then refer Arch UIM Setup. If you finish setup, then should logout or reboot.broot
and install. And it may modify zshrc so, remove new lines including broot in .zshrc
Useful commands (alias & zsh functions)
gitu
: git add . && git commit && git push
latexinit
: Generate initial latex files from Socialst/Templates/Latex_Template/
remarkinit
: Generate remark files from Socialst/Templates/Remark_Template/
remark2pdf
: Generate PDF file from remark slide showeisvogelinit
: Generate pandoc files from Socialst/Templates/Eisvogel_Template/
md2pdf FILENAME
: Generate PDF file from markdown filetypstinit
: Generate typst template files from Socialst/Templates/Typst_Template/
ncplotinit
: Template for matplotlib + netCDF4cppdebug FILENAME
: Compile & Debug via -fstack-usage
cpprun FILENAME
: Compile & Run with -O3
cppbuild FILENAME
: Compile with -O3
cppasm FILENAME
: Compile & Generate .asm
countdown TIME
: Countdown in terminal via termdown
zell FILENAME
: zellij --layout $HOME/Socialst/Zellij/$FILENAME.yaml
Although you are not Arch user, you can setup with Socialst.
Zsh
zsh
zsh-history-substring-search
zsh-autosuggestions
zsh-syntax-highlighting
zsh-completions
fzf
# Backup .zshrc file (if exists)
mv $HOME/.zshrc $HOME/.zshrc.old
# Create link to Socialst
ln -s $HOME/Socialst/Zsh/.zshrc $HOME/.zshrc
# Make zsh default
chsh -s `which zsh`
Neovim
neovim
python-neovim
xclip
powerline
powerline-fonts
# Download vim-plug
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# Create .config/nvim directory if not exists
if [ ! -d "$HOME/.config/nvim" ]; then
mkdir $HOME/.config/nvim
fi
# Create symbolic link to Socialst
ln -s $SOCIALST/NeoVim/init.vim $HOME/.config/nvim/init.vim
Eisvogel
texlive
pandoc
mkdir -p $HOME/.pandoc/templates
ln -s $SOCIALST/Pandoc/eisvogel.latex $HOME/.pandoc/templates/eisvogel.latex
Zellij
rust
cargo
# Install Zellij
cargo install zellij
# For key binding
if [ ! -d "$HOME/.config/zellij" ]; then
mkdir -p "$HOME/.config/zellij"
fi
ln -s $SOCIALST/Zellij/config.yaml $HOME/.config/zellij/config.yaml
Other available shell scripts (For almost all of linux distros)
02_git.sh
: Configure git with an option: credential.helper store
04_rust.sh
: Setup rust via rustup
06_cargo.sh
: Install useful applications via cargo
07_coc.sh
: If you chose 'Neovim' in 01_env.sh
, then this script provided setup for Coc
08_nim.sh
: Install nim via choosenim
11_npm.sh
: Create .npm-global
directory and prefix12_extra_python.sh
: Install extra useful python packages via pip
14_openblas.sh
: Download & Make OpenBLAS
to /opt
directory (You should have $HOME/zbin
directory before executing this)15_root_jupyter.sh
: Install ROOT jupyter kernel20_npm_package.sh
: Install useful npm packages