This is my dotfiles' settings.
$ bash -c "$(curl -fsSL https://raw.githubusercontent.com/narugit/dotfiles/master/install.sh)"
- If I does not create
${HOME}/.ssh/id_rsa_personal
, create it.
$ ssh-keygen -t ed25519 -C "[email protected]" -f ~/.ssh/id_rsa_personal
-
Visit GitHub's SSH key settings page and register public key.
-
(Only in Darwin) Add key chain.
$ ssh-add -K ~/.ssh/id_rsa_personal
- Disable default keyboard shortcut, Ctrl-Space not to conflict with my tmux prefix.
When opening zsh, if there is a defference between remote and local dotfiles, warning message appears.
Secret dotfiles are listed in .gitignore
.
I suppose that I manage its only in local.
I does not suppose that I upload its to GitHub because its are secret.
I can add secret configuration, such as secret environment variable in below.
${HOME}/.zshrc.secret
I can add secret configuration, such as user information (not my private account) in below.
The file overrides other global git configuration.
${HOME}/.gitconfig.secret
I can add secret configuration, such as proxy.
${HOME}/.ssh/config.secret
Note: Not support feature to fetch preodically because I cannot find how to run systemd on Ubuntu 20.04 docker image on macOS. (See issues#26)
$ ${HOME}/dotfiles/test/linux/dockerrun.sh