Skip to content

kands-code/config.d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CONFIG-D

this repository stores all configs that may be helpful

environment.d

xdg environment config, just some useful environment

others

configs for some utils

nano

for nano editor highlightings

neofetch

some self config

systemd

some user daemons, maybe useful

bashrc

config for bash

ln -s "<path to project>"/others/bashrc ~/.bashrc

DNSConfig.md

some config steps for using systemd-resolve

daemon.json

docker daemon config

ln -s "<path to project>"/others/daemon.json /etc/docker/daemon.json

gitconfig

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"

local.conf

font config

sudo ln -s "<path to project>"/others/local.conf /etc/fonts/local.conf

should replace the font to with your own

locale.conf

locale config

ln -s "<path to project>"/others/locale.conf ~/.config/locale.conf

pandoc-meta

pandoc config for generating pdfs

a use case:

# pandoc wrapper
if command -v pandoc >/dev/null 2>&1; then
  pd() {
    local ff="$1"
    shift
    local tt="$1"
    shift
    local filename="$1"
    shift
    local outputname="${filename%.*}.$tt"
    pandoc -f "$ff" -t "$tt" \
      "$filename" \
      -o "$outputname" \
      --pdf-engine=lualatex \
      --metadata-file="<path to project>/others/pandoc-meta"
    "$@"
  }
fi

paru.conf

paru config

ln -s "<path to project>"/others/paru.conf ~/.config/paru.conf

profile

profile

ln -s "<path to project>"/others/profile ~/.profile

npmrc

config for npm

mkdir -p ~/.config/npm
ln -s "<path to project>"/others/npmrc ~/.config/npm/

Agda

should replace the path in agda/libraries with your own

# if use 20-haskell.conf
mkdir -p ~/.config/cabal
ln -s "<path to project>"/others/agda ~/.config/cabal/agda

RProfile

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")

pip

python config

ln -s "<path to project>"/pip ~/.config/pip

zsh

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>"/zsh/ssh.conf ~/.ssh/config

nushell

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"

Releases

No releases published

Packages

No packages published