Personal dotfiles.
# Set the default Git user name and email.
export GIT_USERNAME=x
export [email protected]
# (Optional) Install extra binaries.
export DOTFILES_INSTALL_EXTRA_BINS=1
# (Optional) Install binaries through arkade.
export DOTFILES_INSTALL_ARKADE_BINS=1
# (Optional) Use the GitHub CDN proxy in China.
export DOTFILES_USE_CDN=1
# (Optional) Set a proxy; replace this URL with your proxy address.
export HTTP_PROXY=http://localhost:7890
export HTTPS_PROXY=http://localhost:7890
export default_proxy=http://localhost:7890
# (Optional) Set the GitHub proxy.
git config --global url."https://cdn.gh-proxy.org/https://github.com/".insteadOf "https://github.com/"
git config --file ~/.gitconfig-proxy url."https://cdn.gh-proxy.org/https://github.com/".insteadOf "https://github.com/"
# Install dotfiles
sh -c "$(curl kibazen.cn/dotfiles.sh)"You can set git config for GitHub via command
git config --file ~/.gitconfig-github user.name xxx.You can set git config for GitLab via command
git config --file ~/.gitconfig-gitlab user.name xxx.
# Install WinGet on Windows Sandbox
# https://learn.microsoft.com/en-us/windows/package-manager/winget/#install-winget-on-windows-sandbox
# Install chezmoi via WinGet
winget install --id twpayne.chezmoi --accept-source-agreements
# Set the default Git user name and email.
$env:GIT_USERNAME = "x"
$env:GIT_USEREMAIL = "[email protected]"
# (Optional) Install extra binaries.
$env:DOTFILES_INSTALL_EXTRA_BINS = "1"
# (Optional) Install binaries through arkade.
$env:DOTFILES_INSTALL_ARKADE_BINS = "1"
# (Optional) Use the GitHub CDN proxy in China.
$env:DOTFILES_USE_CDN = "1"
# (Optional) Set a proxy; replace this URL with your proxy address.
$env:HTTP_PROXY = "http://localhost:7890"
$env:HTTPS_PROXY = "http://localhost:7890"
$env:default_proxy = "http://localhost:7890"
# (Optional) Set the GitHub proxy.
git config --global url."https://cdn.gh-proxy.org/https://github.com/".insteadOf "https://github.com/"
git config --file ~/.gitconfig-proxy url."https://cdn.gh-proxy.org/https://github.com/".insteadOf "https://github.com/"
# Set the execution policy to RemoteSigned for the current user, so that the dotfiles setup scripts can be executed.
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
# Install dotfiles
chezmoi init --apply kibaamorYou can set git config for GitHub via command
git config --file $env:USERPROFILE/.gitconfig-github user.name xxx.You can set git config for GitLab via command
git config --file $env:USERPROFILE/.gitconfig-gitlab user.name xxx.
- delta
- bat
- fd
- fzf
- direnv
- rg
- lsd
- duf
- age, age-keygen
- tldr
- jq
- yq
- gdu
- nali
- tproxy
- gping
- doggo
- nexttrace
- ctop
- kubecolor
- arkade
- upx
- ShellCheck (Linux/macOS)
- ipstream
These binaries are installed only when
DOTFILES_INSTALL_EXTRA_BINSis non-empty.
These binaries are installed through arkade only when
DOTFILES_INSTALL_ARKADE_BINSis non-empty.
# (Optional) Set `TMPDIR` if `/tmp` is mounted with `noexec`.
export TMPDIR=~/.tmp