A minimal, portable (Linux & macOS), and optimized for devcontainer dotfiles.
git clone https://github.com/progamesigner/dotfiles ~/.dotfiles
export GIT_USER_NAME="<Your Git Name>"
export GIT_USER_EMAIL="<Your Git Email>"
~/.dotfiles/install.sh
This dotfiles will configure platforms (macOS, Linux, and DevContainers), Git, GnuPG, SSH, and ZSH.
Nothing configured currently.
It will touch $DOTTARGET/.hushlogin
file to skip login messages. This can be skipped with NO_HUSH_LOGIN=1
.
It will copy /etc/gitattributes
and /etc/gitignore
in containers.
This will configure some defaults to Git. This can be skipped with NO_GIT=1
.
This will configure GPG to use pinentry-mac
if it's available. Also install browser native messaging manifest for mailvelope. This can be skipped with NO_GNUPG=1
.
This will configure SSH to include some default files. Support *.user.conf
files to customize. This can be skipped with NO_SSH=1
.
This will configure ZSH to source some default files. It will load $ZSH_PROFILE/*.zsh
files in starting-up. This can be skipped with NO_ZSH=1
.
In my real setup, I use Syncthing to sync this repository with some .*
folders, including ignore file for Syncthing, private network SSH configurations, Docker, Kubernetes, and even customized ZSH (mostly oh-my-zsh and zsh-users) etc.