narugit / dotfiles

My organized dotfiles :gear: :gear: :gear:
0 stars 0 forks source link
dotfiles shell zsh

dotfiles

This is my dotfiles' settings.

How to Install

$ bash -c "$(curl -fsSL https://raw.githubusercontent.com/narugit/dotfiles/master/install.sh)"

Necessary Process in Manual

ssh

  1. If I does not create ${HOME}/.ssh/id_rsa_personal, create it.

    $ ssh-keygen -t ed25519 -C "narusens@gmail.com" -f ~/.ssh/id_rsa_personal
  2. Visit GitHub's SSH key settings page and register public key.

  3. (Only in Darwin) Add key chain.

    $ ssh-add -K ~/.ssh/id_rsa_personal

Keyboard shortcut

...

Features

Monitoring Differences Between Remote and Local Dotfiles

When opening zsh, if there is a defference between remote and local dotfiles, warning message appears.

monitor-dotfiles

Secret Dotfiles

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.

zsh

I can add secret configuration, such as secret environment variable in below.

git

I can add secret configuration, such as user information (not my private account) in below.

The file overrides other global git configuration.

ssh

I can add secret configuration, such as proxy.

Test in Docker Container

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