Skip to content

akkinoc/dotfiles

Repository files navigation

dotfiles

works badge license badge sponsor badge

My personal dotfiles for macOS.

Installation

Setting SSH key

Place my SSH key.

  • SSH secret key: ~/.ssh/akkinoc
  • SSH public key: ~/.ssh/akkinoc.pub

Installing dotfiles

Clone this Git repository.

$ GIT_SSH_COMMAND="ssh -i ~/.ssh/akkinoc" git clone git@github.com:akkinoc/dotfiles.git

Install dotfiles and reload shell.

$ dotfiles/INSTALL.sh
$ exec -l "$SHELL"

Additional installation

Installing Homebrew packages

Required: Homebrew.

Install Homebrew packages.

$ brew bundle --global

Change login shell to Bash installed via Homebrew.

$ export SHELL="/opt/homebrew/bin/bash" # or "/usr/local/bin/bash"
$ sudo dscl . -create "/Users/$USER" UserShell "$SHELL"
$ reload

Setting GPG key

Required: GnuPG.

Disable option to store password in macOS keychain.

$ defaults write org.gpgtools.common DisableKeychain -bool yes

Import my GPG key.

$ gpg --import <{Key}
$ echo "{Fingerprint}:6:" | gpg --import-ownertrust

License

Licensed under the MIT License.