this repository stores all configs that may be helpful
xdg environment config, just some useful environment
configs for some utils
for nano editor highlightings
some self config
some user daemons, maybe useful
config for bash
ln -s "<path to project>"/others/bashrc ~/.bashrc
some config steps for using systemd-resolve
docker daemon config
ln -s "<path to project>"/others/daemon.json /etc/docker/daemon.json
git config
ln -s "<path to project>"/others/gitconfig ~/.gitconfig
should replace this information with your own
git config --global user.name "your github user name"
git config --global user.email "your email for gpg key"
git config --global user.signingkey "secret key with ! sign"
font config
sudo ln -s "<path to project>"/others/local.conf /etc/fonts/local.conf
should replace the font to with your own
locale config
ln -s "<path to project>"/others/locale.conf ~/.config/locale.conf
paru config
ln -s "<path to project>"/others/paru.conf ~/.config/paru.conf
profile
ln -s "<path to project>"/others/profile ~/.profile
config for npm
mkdir -p ~/.config/npm
ln -s "<path to project>"/others/npmrc ~/.config/npm/
there is a backup for R profile
options(repos=structure(c(CRAN="https://mirrors.ustc.edu.cn/CRAN/")))
# options("browser"="firefox")
options("browser"="microsoft-edge")
options("editor"="nano")
options("encoding"="utf8")
python config
ln -s "<path to project>"/pip ~/.config/pip
zsh config
ln -s "<path to project>"/zsh/zshenv ~/.zshenv
mkdir -p ~/.config/zsh
ln -s "<path to project>"/zsh/zshrc ~/.config/zsh/.zshrc
ln -s "<path to project>"/zsh/zfunc ~/.config/zsh/zfunc
# for ssh config
mkdir -p ~/.ssh
ln -s "<path to project>"/others/ssh.conf ~/.ssh/config
nushell config
# macOS is "~/Library/Application Support/nushell"
rm -r ~/.config/nushell
ln -s "<path to project>/nushell" "~/.config/nushell"
mkdir ~/.ssh
ln -s "<path to project>/zsh/ssh.conf" "~/.ssh/config"